Skip to content

Profit Margin Calculator

Math & Calculators ·
·

Enter revenue and cost to get your gross profit, profit margin percent, and the matching markup. See how much of every sale you actually keep.

What you keep, not what you charge

Revenue is vanity. Margin is the part that actually matters. Sell something for $100 that cost you $60, and your gross profit is $40, but the number worth tattooing on the wall is the margin: 40%. That’s the slice of every dollar that stays with you before rent, payroll, and ads take their cut.

The calculator wants two figures, revenue (what you sold it for) and cost (what it took to make or buy). From there it computes three things at once. Gross profit is plain subtraction: revenue - cost. Gross margin is that profit as a share of revenue: profit / revenue x 100. And markup, shown alongside, is the same profit measured against cost: profit / cost x 100. One transaction, three angles on it.

Margin and markup, same profit, different lens

These two get blurred constantly, so here’s the clean split. Margin asks “what fraction of the price did I keep?” Markup asks “how much did I add on top of cost?” The dollar profit is identical; only the denominator changes.

That difference matters more than it sounds. Margin is capped at 100%, because you can’t keep more than the whole price. Markup has no ceiling at all. So a 50% margin is the same deal as a 100% markup, and a 75% margin is a 300% markup. If you ever set targets, pick one lens and stick with it, mixing them is how shops end up pricing at a loss while thinking they’re fine.

A quick reference, since people memorize these:

  • 20% margin equals 25% markup
  • 33.3% margin equals 50% markup
  • 50% margin equals 100% markup
  • 66.7% margin equals 200% markup

Gross is only the first cut

Worth being honest about scope here. This is gross margin, the spread between price and the direct cost of the thing itself (materials, the wholesale price, the hours that went straight into it). It is not your net margin. Out of that gross figure still come overhead, salaries, software, marketing, taxes, and every other bill that keeps the lights on.

A healthy gross margin varies wildly by industry. Software routinely clears 80% gross because copying a file costs nothing. Grocery stores survive on single-digit margins and make it work on volume. Restaurants sit somewhere in the middle and live or die on the drinks. So don’t benchmark your bakery against a SaaS company; benchmark against your own past months and your direct competitors.

Common questions

What counts as a good profit margin?

It’s entirely industry-dependent. 10% gross might be excellent for a grocer and alarming for a software firm. Compare against businesses like yours, and watch the trend in your own numbers more than any universal target.

Is gross margin the same as net margin?

No. Gross margin only subtracts the direct cost of goods. Net margin subtracts everything else too, overhead, salaries, taxes, the lot, and it’s always lower. This tool gives you gross.

How is margin different from markup?

Margin divides profit by revenue; markup divides the same profit by cost. Margin tops out at 100%, markup has no limit. The calculator shows both so you can see how a single sale looks from each side.

Can profit margin be negative?

Yep, and the calculator flags it in red. If your cost beats your revenue, you sold at a loss and the margin goes below zero. That’s your cue to raise the price or cut the cost.

Why does my markup percentage look so much higher than my margin?

Because markup measures against the smaller number (cost) while margin measures against the larger one (revenue). Same profit, smaller denominator, bigger percentage. Totally normal.

profit margin gross-margin revenue calculator

Related Tools

More in Math & Calculators

Time Duration Calculator

Work out the time between two clock times, or add and subtract hours and minutes from a time. Handles crossing midnight and shows hours, minutes, and decimals.

Tip Calculator

Calculate tip amount, total bill, and per-person split

Tip Share Calculator

Split a restaurant bill across any group size with the tip included, quick tip presets, optional round-up so nobody gets stuck with the awkward $0.37.

Triangle Calculator

Compute area (Heron's formula), perimeter, all three angles, and three altitudes for any triangle from its three side lengths.

Water Intake Calculator

Estimate your daily water intake from body weight, activity, and climate. See the result in liters, US cups, and fluid ounces.

VAT Calculator

Add VAT to a net price or strip it out of a gross total. Shows net, VAT amount, and gross side by side, with common rate presets.

Unit Converter

Convert between units of length, weight, temperature, area, volume, speed, pressure, and energy

Working Days Calculator

Count working days between two dates, automatically excluding weekends and any holidays you list.

Body Fat Calculator

Estimate body fat percentage using the US Navy circumference method, needs only a tape measure, no calipers or DEXA scan.

Breathing Exercise

A guided breathing pacer with a circle that grows and shrinks through inhale, hold, exhale, hold. Box 4-4-4-4, 4-7-8, or your own counts.

Calorie Calculator

Get your daily calorie target, BMR, TDEE, and macros, based on age, weight, height, activity, and whether you're cutting, maintaining, or bulking.

Circle Calculator

Compute radius, diameter, circumference, and area from any one, pick which value you have, get the other three instantly.

View all 73Math & Calculators