How to calculate ecommerce conversion rate correctly
Ecommerce conversion rate is orders divided by sessions, times 100: 84 orders from 3,200 sessions is 2.63%. The formula is the easy part. What you count as an order and as a visit changes the answer more than most changes to the store do — here is how to make it a number you can trust.
The formula
Conversion rate (%) = orders ÷ sessions × 100
84 orders ÷ 3,200 sessions × 100 = 2.63%That is the usual ecommerce definition: the share of visits that ended in an order. You can run it on any period and any slice — a product page, a campaign, mobile only — as long as the orders and the sessions come from the same slice. The conversion rate calculator also works backwards: how many orders a traffic level needs to hit a target rate.
Sessions or users?
Divide the same 84 orders by 2,500 users instead of 3,200 sessions and the rate is 3.36%. Neither is wrong; they answer different questions. Per session asks how often a visit turns into a sale. Per user asks how many of the people who came bought something — and is kinder to stores where people visit three times before buying.
Google Analytics 4 reports both, as “session key event rate” and “user key event rate” (GA4 renamed conversions to key events in 2024), and only for whichever event you have marked as a key event. Pick one definition and keep it. A conversion rate that improved because someone switched the denominator is the most common false win there is.
What should count as an order
- Paid orders, not checkouts started. In WooCommerce, count processing and completed orders; failed, pending-payment and cancelled ones are attempts.
- Decide about refunds. For marketing, an order that converted is a conversion. For money, a refunded order is not revenue. Keep the two numbers separate rather than mixing them in one rate.
- Your own test orders out. Every launch week has a dozen.
What should count as a visit
- Bots inflate sessions and so lower the rate. A sudden drop with no change in orders is usually traffic, not the store.
- Consent banners shrink them. Where visitors can refuse analytics cookies, analytics records fewer sessions than happened, while WooCommerce still records every order. Orders from WooCommerce divided by sessions from analytics then overstates the rate. Compare like with like — or compare periods under the same consent setup.
- Your own visits. Exclude internal traffic, especially on a small store where you are a noticeable share of it.
What to look at alongside it
Conversion rate alone can be raised by discounting everything, which is not an improvement. Read it with:
- Average order value — revenue ÷ orders. A higher rate at a lower AOV can be less money.
- Revenue per session — revenue ÷ sessions, which is conversion rate × AOV in one number.
- Cart abandonment rate — where in the funnel the rest are lost.
- Customer lifetime value — what a converted customer is worth beyond the first order, which decides how much you can pay to win one.
- Margin per order — the conversion that matters is the one that made a profit.
We do not quote an “average ecommerce conversion rate” here on purpose. Published averages mix industries, price points and definitions, and the useful comparison is your own store against itself last month, measured the same way.
