Ecommerce metrics: a guide to KPIs for your online store
Learn how to track and use ecommerce metrics to grow your online store and make smarter business decisions.

Written by Lena Hanna—Trusted CPA Guidance on Accounting and Tax. Read Lena's full bio
Published Monday 8 June 2026
Table of contents
Key takeaways
- Ecommerce metrics like conversion rate, average order value and customer lifetime value help you understand how your online store is performing and where to focus your efforts
- Tracking key performance indicators gives you a clear picture of what is working and what needs attention, so you can make confident decisions about spending and growth
- Reviewing your metrics monthly gives you a reliable average, though you may want to check more often after a product launch or marketing campaign
- Connecting your ecommerce platform to accounting software like Xero keeps your financial data in sync, so your cash flow reports and forecasts stay up to date
What are ecommerce metrics and KPIs?
Ecommerce metrics are data points you can measure in your online store and business. They help you understand how your store is performing across areas like sales, marketing and customer behaviour.
A metric might be something like your sales conversion rate or average order value. A KPI (key performance indicator) is a metric tied to a specific goal. For example, if your conversion rate is 2% and you want to reach 3%, that target becomes your KPI.
You can find ecommerce metrics through your ecommerce platform's built-in analytics dashboard. You should also set up Google Analytics 4 to see a broader range of metrics and customer behaviours across your site.
What's the difference between metrics and KPIs?
Ecommerce metrics are lower-level indicators you use to monitor day-to-day operations. KPIs use metrics as building blocks to measure progress towards wider business goals, usually over a set period.
For example, you might track social media reach, impressions and engagement to understand your marketing activity. These are all metrics, but they may not be critical to your store's success on their own. Instead, you might set a KPI around the total number of sales generated through social media over one month.
In short, every KPI is a metric, but not every metric is a KPI. Here are the most important metrics to track for your business.
Conversion rate
Conversion rate is the percentage of visitors who complete a desired action on your site. Most often, that action is purchasing a product. It can also mean signing up for your email newsletter or submitting a contact form.
How to calculate conversion rate
The formula for calculating conversion rate (CVR) is:
Total number of conversions / total number of visitors x 100 = conversion rate
For example, if 2,000 people visit your store in one day and 40 of them buy something, your conversion rate is 2%.
What is a good conversion rate?
Conversion rates vary by industry and product. According to Shopify, the average conversion rate sits between 2.5% and 3%. Your conversion rate tells you how much traffic you need to generate sales.
How to improve your conversion rate
There are several practical ways to lift your conversion rate:
- Simplify your checkout process so customers can complete purchases quickly
- A/B test your calls to action and product page layouts
- Offer incentives for first-time buyers, such as a discount or free delivery
- Improve your site speed and mobile experience
Average order value (AOV)
Average order value shows you how much customers spend on a single purchase. It helps you understand buying patterns and set realistic revenue targets.
How to calculate AOV
You can calculate AOV using this formula:
Total order revenue / number of orders = average order value
For example, if your total order revenue for April is €10,000 and you had 200 orders, your AOV is €50.
How to increase your AOV
You can use your AOV to guide your sales strategy. Here are a few approaches:
- Set a minimum spend for free delivery to encourage larger orders
- Create product bundles with your best sellers
- Offer upsells or cross-sells at checkout
AOV varies by product and business type. A low order value may not be a concern for stores with a large customer base and low-cost items. Make sure you use AOV alongside other ecommerce metrics to get the full picture.
Customer lifetime value (CLV)
Customer lifetime value shows you how much revenue you can expect from a single customer over the time they are likely to purchase from you. It helps you set a realistic budget for acquiring and retaining customers.
How to calculate CLV
The formula for calculating CLV is:
Average order value (AOV) x average number of purchases = customer lifetime value
Using the AOV from the earlier example (€50), multiplied by 15 purchases per customer on average, gives you a CLV of €750.
Why CLV matters for your budget
When you understand individual customer value, you can set realistic acquisition and retention budgets. If you are spending €800 to acquire each customer but they only generate €750, you may need to rethink your strategy.
A useful rule of thumb is to aim for a CLV to CAC ratio of at least 3:1. That means each customer should generate at least three times more revenue than it costs to acquire them. This ratio helps you judge whether your marketing spend is sustainable.
Customer acquisition cost (CAC)
Customer acquisition cost tells you exactly how much it costs to land a new customer. Before someone purchases from your store, they might check your social media, view a Google ad and read a blog post. All of these activities cost money and contribute to your CAC.
How to calculate CAC
You can calculate CAC with this formula:
Cost of sales and marketing / new customers acquired (in a set period) = customer acquisition cost
For example, if you spend €5,000 on sales and marketing over six months and gain 50 new customers, your CAC is €100 per customer. You might set a KPI of maintaining a CAC of €100 or less for the next six months.
Connecting CAC to CLV
Your CAC only makes sense in the context of how much each customer is worth to you over time. Compare your CAC against your CLV to check whether your marketing spend is paying off. If your CAC is climbing but your CLV is not, it is time to review your sales funnel and marketing channels.
Shopping cart abandonment rate
Shopping cart abandonment rate shows you how many customers add items to their cart but leave without completing a purchase. It is one of the most common challenges in ecommerce.
According to the Baymard Institute, which analysed 50 different studies, the average cart abandonment rate is 70.22%, meaning roughly seven out of ten shoppers leave without completing their purchase.
How to calculate cart abandonment rate
Here is how you can calculate this rate:
1 - (total number of completed purchases / total number of shopping carts created) x 100 = cart abandonment rate
How to reduce cart abandonment
If your rate is higher than average, there are several things you can try:
- Simplify your checkout process and reduce the number of steps
- Be transparent about shipping costs and delivery times upfront
- Offer guest checkout so customers do not need to create an account
- Send abandoned cart emails to remind shoppers about their items
Bounce rate
Bounce rate is the percentage of visitors who leave your site after viewing only one page. It is a useful signal for understanding whether your content or landing pages are holding attention.
In Google Analytics 4, traditional bounce rate has been replaced by engagement rate. Engagement rate measures the percentage of sessions where a visitor stayed for at least 10 seconds, viewed more than one page, or triggered a conversion event. A low engagement rate signals the same problem as a high bounce rate: visitors are not finding what they need.
You can find engagement rate in your Google Analytics 4 reports and use it to spot pages that need improvement.
Add-to-cart rate
Add-to-cart rate is the percentage of visitors who add at least one item to their shopping cart. It is a strong signal of purchase intent and sits between browsing and buying in your sales funnel.
How to calculate add-to-cart rate
The formula is:
Number of sessions with an add-to-cart action / total sessions x 100 = add-to-cart rate
Why add-to-cart rate matters
A healthy add-to-cart rate tells you that visitors are interested in your products, even if they do not buy straight away. If your add-to-cart rate is strong but your conversion rate is low, the problem likely sits in the checkout experience rather than your product pages.
How to improve add-to-cart rate
Here are a few ways to encourage more visitors to add items to their cart:
- Use clear, high-quality product images and descriptions
- Display pricing, delivery options and availability prominently
- Add social proof such as customer reviews and ratings
- Make the "add to cart" button easy to find on every product page
Customer retention rate
Customer retention rate measures the percentage of existing customers who continue to buy from you over a set period. Retaining customers is often more cost-effective than acquiring new ones, and repeat buyers tend to spend more over time.
How to calculate customer retention rate
The formula is:
(Customers at end of period - new customers acquired during period) / customers at start of period x 100 = customer retention rate
For example, if you start the quarter with 200 customers, gain 50 new ones, and end with 210, your retention rate is 80%.
How to improve customer retention
Here are practical ways to keep customers coming back:
- Launch a loyalty or rewards programme for repeat buyers
- Send personalised follow-up emails after a purchase
- Provide excellent customer service and quick responses
- Ask for feedback and act on it to improve your products
Return on ad spend (ROAS)
Return on ad spend measures how much revenue you earn for every euro you spend on advertising. It is one of the most direct ways to evaluate whether your paid campaigns are working.
How to calculate ROAS
The formula is:
Revenue from ads / cost of ads = ROAS
For example, if you spend €500 on a social media campaign and it generates €2,000 in sales, your ROAS is 4:1. That means you earn €4 for every €1 spent.
How to evaluate your ROAS
A higher ROAS is generally better, but it depends on your margins. A ROAS of 4:1 might be healthy for a high-margin product but unsustainable for a low-margin one. Always read ROAS alongside your gross margin to understand the true profit from your ad spend.
If your ROAS is low, review your ad targeting, creative and landing pages. Small improvements in any of these areas can make a significant difference to your return.
Impressions
Impressions represent the number of times your content is displayed on a website, search engine results page, or social media feed. They tell you how often your content has appeared, not how many people engaged with it.
For example, your advert might appear on a user's social media feed, but they may scroll past without clicking. Impressions are useful for measuring the visibility of your brand and content across different channels.
Reach
Reach and impressions are related but distinct. A single person could see your content multiple times, creating multiple impressions. Reach counts the number of unique viewers who see your content.
Low reach could suggest there is more you could do to get your products in front of fresh eyes. Check your targeting settings, posting schedule and content format to extend your reach.
Engagement
Engagement measures how much your audience interacts with your content through clicks, likes, comments and shares. A strong engagement rate for paid ads means people are clicking through. A strong engagement rate for social media means people are liking, commenting and sharing.
You can find your engagement rate in the analytics section of each social media platform. Track it over time to understand which types of content resonate most with your audience.
Click-through rate (CTR)
Click-through rate measures the percentage of people who click on your webpage, advert or social media content after seeing it. A high CTR tells you your content is doing its job: getting people onto your site and checking out your products.
How to improve your CTR
Achieving a higher click-through rate comes down to making your content compelling. Here are a few tips:
- Reference the benefits of your product or business in ad copy and headlines
- Keep your messaging concise and specific
- Test different headlines, descriptions and calls to action
You can find your click-through rates through Google Ads, your social media platforms and your ecommerce analytics dashboard.
Store sessions by traffic source
Understanding how customers find your store helps you decide where to focus your marketing budget. Your ecommerce platform and Google Analytics can break down traffic by source, such as organic search, social media, email or paid ads.
If social media-driven sessions are low despite your target market spending time on those platforms, you might invest more in your social strategy and content. Diversifying your traffic sources reduces the risk of relying on a single channel for growth.
Store sessions by device type and location
Your customers' devices and locations can shape how they shop with you. If most of your customers browse on their phones but your store is not optimised for mobile, you could be missing out on sales.
Location data can also guide your marketing schedule. If your target market is in a different time zone, posting time-restricted discount codes during your own working hours might mean your key customers miss them. Keep an eye on the location and device analytics in your ecommerce platform and on social media.
Month-end inventory
Tracking month-end inventory helps you plan stock levels more efficiently. If you regularly have excess stock at the end of each month, it could mean you are overpurchasing. If you are running low before month end, you might need to adjust your purchasing schedule.
Some businesses experience seasonality too. Tracking month-end inventory over a full year helps you predict annual stock needs and avoid tying up too much cash in unsold products.
Refund and return rate
Refunds and returns are a natural part of ecommerce. Until a product arrives, customers cannot be fully certain it is a perfect match. But a high return rate could signal low product quality, customer dissatisfaction or misleading product descriptions.
How to calculate refund and return rate
The formula is:
Number of returned orders / total number of orders x 100 = return rate
How to reduce returns
Here are practical steps to bring your return rate down:
- Make product listings as accurate and detailed as possible
- Use high-quality photos from multiple angles
- Include size guides and product dimensions
- Encourage customers to get in touch if they are unsure before purchasing
How often should you check ecommerce metrics?
Your ecommerce store is open around the clock. People are shopping, exploring your social media and seeing ads at all hours. That means your metrics are changing constantly.
It might be tempting to check every day, but daily snapshots will not give you a clear reading of how your store is performing overall. Instead, try to make checking your metrics a monthly habit. A monthly view gives you a reliable average across all the sales, interactions and events happening in your business.
That said, it is fine to check more often after a new product launch, marketing campaign or website refresh. You will naturally want to see the impact of your efforts.
What's the most important KPI or metric?
Every business needs to make sales. So your conversion rate, average order value and customer lifetime value will always be critical KPIs. But the most important metrics for your business depend on what you are trying to achieve.
If you are just getting started, you might set a conversion rate KPI to make sure you are generating enough sales. If you are trying to reach a new market, a KPI around diversifying your traffic sources could be more relevant.
The key is to choose metrics that connect directly to your business goals and review them regularly. As your business grows, the metrics that matter most will shift too.
How ecommerce metrics can help your cash flow and forecasting
Ecommerce metrics help you decide where to spend, what to spend on and when to spend it. By tracking your customers' journeys from discovery to purchase, you can learn how to find customers, close sales and increase revenue.
Tracking your metrics also supports healthy cash flow. Healthy cash flow revolves around knowing the right time to spend and the right time to save. With reliable ecommerce metrics and KPIs, you can spend and invest in a way that complements your business.
Xero's accounting software for ecommerce and online businesses integrates with popular ecommerce platforms, giving you a clear picture of your finances. Transactions and inventory are synchronised in Xero, so your cash flow reports and projections are up to date and reliable.
For more support, check out the ecommerce tips and guides for small businesses.
Track your ecommerce metrics with Xero
Keeping a close eye on your ecommerce metrics is only half the picture. You also need to connect that data to your finances so you can make confident decisions about spending, stocking and growing your business.
Xero brings your ecommerce sales, expenses and cash flow together in one place. With integrations for popular platforms like Shopify and Stripe, your transactions sync automatically. That means less time on manual data entry and more time focused on the numbers that matter. You can also manage your online reputation alongside your finances to build a stronger business overall. Get one month free.
FAQs on ecommerce metrics
Here are some frequently asked questions about ecommerce metrics.
What are the most important ecommerce metrics for a new online store?
When you are starting out, focus on conversion rate, average order value and customer acquisition cost. These three metrics tell you whether people are buying, how much they are spending and how much it costs to bring them through the door. As your store grows, you can layer in metrics like customer lifetime value and retention rate.
How often should you review ecommerce metrics?
A monthly review is a good starting point. It gives you a reliable average that smooths out daily spikes from things like a successful social media post or a flash sale. Check more frequently after a product launch or major campaign.
What is a good conversion rate for an ecommerce store?
The average ecommerce conversion rate sits between 2.5% and 3%, though this varies by industry and product type. A rate above 3% is generally considered strong. Focus on improving your checkout experience, site speed and product pages to push yours higher.
How do you benchmark your ecommerce KPIs?
Start by researching industry averages for the metrics that matter most to your business. Then compare your own data month on month to spot trends. The goal is steady improvement over time rather than hitting a single number. Tools like Google Analytics 4 and your ecommerce platform's built-in reporting make benchmarking straightforward.
What is the difference between add-to-cart rate and conversion rate?
Add-to-cart rate measures the percentage of visitors who place an item in their cart, while conversion rate measures the percentage who complete a purchase. A high add-to-cart rate with a low conversion rate often points to friction in the checkout process, such as unexpected shipping costs or a complicated payment flow.
Disclaimer
Xero does not provide accounting, tax, business or legal advice. This guide has been provided for information purposes only. You should consult your own professional advisors for advice directly relating to your business or before taking action in relation to any of the content provided.
Start using Xero for free
Access Xero features for 30 days, then decide which plan best suits your business.