
Running a business means watching two numbers: what you charge and what you spend. The gap between them decides whether you stay open. This profit calculator takes those two figures, plus quantity, overhead, and tax and turns them into gross profit, net profit, margin, markup, and break-even units. It’s built for small business owners, e-commerce sellers, and anyone pricing a product. A bakery owner can check whether a $6 pastry actually makes money after ingredients, rent, and taxes. A freelancer can see how many billable hours cover fixed costs.
How to Use the Profit Calculator
Pick your currency from the dropdown. All money fields update to show the matching symbol.
Enter your selling price per unit. This is what you charge for one item.
Type the quantity sold. Use the number of units you sold in the period.
Add your cost per unit. This is your COGS—materials, packaging, or wholesale price.
Enter total operating expenses. Rent, salaries, marketing, and other fixed costs go here.
Set your tax rate on profit. Leave it at 0 if you want a pre-tax figure.
Tap Calculate. The results update live, but the button forces a fresh pass.
How the Profit Calculator Formula Works
The calculator runs a series of simple arithmetic steps. Each one builds on the last. Here’s the core math.
Formula: Revenue = Price × Quantity
Formula: Gross profit = Revenue − (COGS × Quantity)
Formula: Operating profit = Gross profit − Operating expenses
Formula: Net profit = Operating profit − Tax
Formula: Net margin = (Net profit ÷ Revenue) × 100
Formula: Markup = (Gross profit ÷ COGS) × 100
Formula: Break-even units = Operating expenses ÷ (Price − COGS)
Revenue is total sales. Gross profit is what’s left after paying for the goods you sold. Operating profit subtracts fixed costs like rent and salaries. Net profit takes out taxes too. Net margin tells you how many cents of each revenue dollar you keep. Markup tells you how much you added to cost. Break-even units tells you how many sales cover your operating expenses.
Two edge cases matter. If contribution per unit (price minus COGS) is zero or negative, the calculator reports that break-even is impossible. You can’t cover overhead if each sale loses money. Also, tax only applies when operating profit is positive. A loss doesn’t generate a tax bill in this model.
Worked Example
A small furniture maker sells handcrafted stools for $27.50 each. Last quarter, she sold 850 units. Her cost per unit, wood, finish, and hardware is $14.20. Total operating expenses for the quarter were $3,200. Her tax rate is 22%.
Revenue: 27.50 × 850 = $23,375.
COGS total: 14.20 × 850 = $12,070.
Gross profit: 23,375 − 12,070 = $11,305.
Operating profit: 11,305 − 3,200 = $8,105.
Tax: 8,105 × 0.22 = $1,783.10.
Net profit: 8,105 − 1,783.10 = $6,321.90.
Net margin: 6,321.90 ÷ 23,375 × 100 = 27.04%.
Markup: 11,305 ÷ 12,070 × 100 = 93.66%.
Break-even units: contribution per unit is 27.50 − 14.20 = $13.30. 3,200 ÷ 13.30 = 240.6, rounded up to 241 units. Break-even revenue: 241 × 27.50 = $6,627.50. She sold 609 units above break-even.
The calculator places a 27.04% net margin in the “Strong” category. The verdict banner would say “Strong margin” and highlight the net profit. This is a healthy outcome for a small manufacturer.
Frequently Asked Questions
How do I calculate profit margin?
Divide net profit by revenue, then multiply by 100. If you made $6,000 in net profit on $25,000 in revenue, your margin is 24%. The calculator does this step for you and places the result in a category.
What is a good profit margin?
It varies by industry. Retail often runs 2–5%. Restaurants average 5–10%. Software and services can hit 20–40%. The calculator labels anything above 20% as Strong or Exceptional, but compare your number to your sector.
What is the difference between gross profit and net profit?
Gross profit is revenue minus the cost of goods sold. Net profit is what’s left after subtracting operating expenses and taxes from gross profit. Gross profit shows the direct profitability of your product. Net profit shows the overall profitability of your business.
How do I calculate markup?
Divide gross profit by cost of goods sold, then multiply by 100. If a product costs $20 and sells for $40, gross profit is $20, and markup is 100%. Markup is always higher than margin for the same sale.
Why is my profit negative?
Your costs exceed your revenue. That can happen from pricing too low, high fixed expenses, or low sales volume. The calculator shows a Loss banner when net profit is below zero. You’ll need to adjust pricing, cut costs, or increase sales.
How do I calculate break-even units?
Divide total operating expenses by the contribution per unit, which is price minus cost per unit. If opex is $4,000 and each sale contributes $20, you need 200 units to break even. The calculator rounds up to the nearest whole unit.
What costs should I include in COGS?
Include anything directly tied to producing or acquiring the product: materials, packaging, freight, and wholesale cost. Don’t include rent, salaries, or marketing—those go under operating expenses. Mixing them will distort your margins.
Does tax affect my profit margin?
Yes. The calculator applies your tax rate to operating profit and subtracts it before calculating net margin. If you want a pre-tax figure, set the tax rate to 0. The default is 0, so you can see operating profit without tax.
Can I use this calculator for a service business?
Yes. For services, your “cost per unit” is the direct labor or materials for one job. Quantity is the number of jobs or hours. Operating expenses are your fixed overhead. The math works the same way.
What is the difference between margin and markup?
Margin is net profit divided by revenue. Markup is gross profit divided by cost. They use different denominators. A 50% markup equals a 33% gross margin. The calculator shows both so you can avoid the confusion.














