Conversion rate
Conversion rate is the share of visitors or sessions that complete a goal, such as a purchase or a sign-up.
Formula
- Conversions
- The number of times the goal was completed: orders, sign-ups or booked calls.
- Sessions or visitors
- Pick one and keep it. Session-based and user-based rates are different numbers.
Try it with your numbers
Change any value and the result updates. Nothing you type leaves your browser.
Worked example
Your site had 48,000 sessions last month and took 1,200 orders. Conversion rate = 1,200 ÷ 48,000 = 2.5%.
How to read it
Small differences in conversion rate need a lot of traffic to be real. Before calling a test, check how many visitors it needs with the A/B test sample size calculator.
How to calculate conversion rate in SQL, Power BI and Excel
Copy, rename the tables and columns to match yours, and run. The SQL is written for PostgreSQL and works with small changes in BigQuery, Snowflake or SQL Server.
SELECT date_trunc('week', session_start)::date AS week,
COUNT(*) AS sessions,
COUNT(*) FILTER (WHERE converted) AS conversions,
ROUND(100.0 * COUNT(*) FILTER (WHERE converted) / COUNT(*), 2) AS conversion_rate_pct
FROM sessions
WHERE NOT is_internal_traffic
GROUP BY 1
ORDER BY 1;Conversion Rate % =
DIVIDE ( [Conversions], [Sessions] )=B3/B2Excel: B2 = sessions, B3 = conversions. Format as a percentage.
Common mistakes
- Comparing a session-based rate with a user-based one.
- Leaving bot and internal traffic in the denominator.
- Reading a change as a win when the traffic mix changed. Compare channel by channel and device by device.
Questions people ask
Should I use sessions or users?
Either works if you are consistent. Sessions suit shops with quick decisions; users suit longer B2B journeys with many visits.
Why does GA4 show a different conversion rate than my store?
Consent banners, ad blockers and checkout redirects stop some purchases being tracked. Compare GA4 with your order system regularly.
Related metrics
Want conversion rate measured the same way everywhere?
We define it with your team, build it into your data and dashboards, and keep it right. See Product & funnel analytics, or start with a two-week Data Health Check.