virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
tools / shopify profit calculator

Shopify profit calculator

See what your store keeps after products, shipping, Shopify fees, refunds and ads. Enter an average order and a month of ad spend to get the profit per order, the profit per month, your margin and the most you can spend on ads per order before you lose money. Everything runs in your browser.

Shopify plan

US rates for online card payments with Shopify Payments, checked on 2026-11-17 on Shopify's pricing page: Basic 2.9% + 30¢, Grow 2.7% + 30¢, Advanced 2.5% + 30¢, Plus 2.25% + 30¢. Plan prices are for monthly billing. Rates and prices vary by country and plan, and change, so check the page for your store. For international cards or a third-party gateway, work out the fee with the Shopify fee calculator.

See which channels bring the orders behind that profit

Virling reads your Shopify orders with a read-only token and credits each one to the visit that led to it, so you see sales by channel, campaign and landing page. Virling is open source under AGPLv3: self-host it free, or start a 14-day hosted trial.

Start free trial Shopify integration · See the demo

The Shopify profit formula

Work out the costs of one average order, take them off the order value, then multiply by the orders in a month:

card fee = order value × card rate + $0.30

refunds per order = order value × refunded share

break-even ad spend per order = order value - product - shipping - card fee - refunds per order - plan price / orders

profit per order = break-even ad spend per order - ad spend / orders

profit per month = profit per order × orders

margin = profit per order / order value

Margin here is a share of sales before refunds. The break-even figure and the plan's share of an order both depend on the number of orders, so enter the orders you expect after a change in ad spend.

A worked example

These are made-up numbers, the same ones the calculator starts with, not data from a real store. A store on Basic sells 300 orders a month at $60 each. Products cost $20 per order, shipping costs $7, 5% of orders are refunded, and ads cost $3,600 a month.

  • Card fee: $60 × 2.9% + $0.30 = $2.04.
  • Refunds per order: $60 × 5% = $3.00.
  • Plan per order: $39 / 300 = $0.13.
  • Break-even ad spend per order: $60 - $20 - $7 - $2.04 - $3.00 - $0.13 = $27.83.
  • Ad spend per order: $3,600 / 300 = $12.00.
  • Profit per order: $27.83 - $12.00 = $15.83, a margin of 26.4%.
  • Profit per month: $15.83 × 300 = $4,749.

The month as a whole gives the same answer: $18,000 of sales, less $6,000 of products, $2,100 of shipping, $612 of card fees, $900 of refunds, $39 for the plan and $3,600 of ads, leaves $4,749.

What moves profit most

The same made-up store with one input changed in each row and the rest left alone:

ChangeProfit per orderProfit per monthMargin
No change$15.83$4,749.0026.4%
Order value $66$21.36$6,406.8032.4%
10% refunded$12.83$3,849.0021.4%
Product cost $24$11.83$3,549.0019.7%
Ad spend $5,400$9.83$2,949.0016.4%

A 10% higher order value adds almost 35% to profit here, because the product, shipping and ad costs per order stay put. That holds only if the larger order does not need more product. The ad row assumes the extra spend brings no extra orders; enter both new numbers if it does.

Does a bigger Shopify plan raise profit?

A higher plan costs more each month and charges a lower card rate. The same made-up store on each plan:

PlanCard fees a monthPlan a monthProfit per month
Basic$612$39$4,749
Grow$576$105$4,719
Advanced$540$399$4,461
Plus$495from $2,300up to $2,605

At $18,000 of sales the lower rate does not pay for the bigger plan. This compares fees only, not the features of each plan. For fees by plan, gateway and card, use the Shopify fee calculator.

How to use the break-even ad spend

The break-even ad spend per order is a ceiling, not a target. At that cost the order pays for itself and adds nothing. Compare it with the cost per order in your ad account, and remember that an average hides the spread: one campaign can sit well under the ceiling while another loses money on every order.

If the calculator says there is no room for ads, the order loses money before any marketing. Look at product cost, shipping and refunds first, since cheaper ads cannot fix it.

Profit also differs by channel, because each one brings its own order sizes and costs. Profit by marketing channel shows how to take spend and fees off the revenue each channel brought. Virling's Profit by channel card does that with the spend and fee rate you type in; it does not know your product or shipping costs, so use this page or the contribution margin calculator for those.

Related tools and guides

questions

Shopify profit FAQ

How do you calculate profit on a Shopify store?

Start with the order value and take off the product cost, shipping cost, Shopify's card fee, the average refund, the plan's share of the order and the ad spend per order. Multiply what is left by orders a month. In the made-up example on this page, a $60 order leaves $15.83, which is $4,749 a month on 300 orders.

How much can I spend on ads per Shopify order?

Up to the break-even ad spend per order: the order value minus every other cost. In the made-up example that is $27.83. Spending less leaves a profit on the first order, and spending more loses money unless the customer buys again.

How does this calculator count refunds?

It treats the refund share as full refunds and takes that share of the order value off each order on average. The product, shipping and card fee stay as costs. If returned products go back into stock and are sold again, your real profit is higher than the result.

What is a good profit margin for a Shopify store?

There is no single figure that fits every store, because product costs, order sizes and ad spend differ. Compare your margin with your own past months, and check that the profit a month covers the costs this page leaves out, such as salaries, apps and rent.

Why is my Shopify profit lower than my sales?

Sales are what buyers paid. Products, shipping, card fees, refunds, the plan and ads all come out before profit, and the ad bill is often paid outside Shopify. Enter each one from your own invoices, and use the order value without sales tax, because the tax is not your money.

What does this Shopify profit calculator leave out?

Sales tax, apps, themes, salaries, rent, chargebacks, currency conversion and income tax. It uses US rates for Shopify Payments with domestic online cards, so international cards and third-party gateways cost more than it shows.

Know which channels your Shopify sales come from

This page works from averages you type. Virling links every visit to the order it led to, so you see the revenue each channel brings from your real orders. 14 days free.

Start free trial See the demo