What is a gross profit calculator?
A gross profit calculator measures how profitable your core products or services are before overhead is taken into account. It subtracts your cost of goods sold (COGS) from your revenue and shows both the gross profit in dollars and the gross margin as a percentage. For small business owners and online sellers, gross profit is the foundation of every other profitability metric — if it is weak, no amount of cost-cutting elsewhere will save the business.
How the gross profit calculator works
Enter your total revenue for a period and the cost of goods sold for the same period. The calculator instantly returns your gross profit and gross margin, letting you compare products, seasons or sales channels quickly and accurately.
Assumptions used in this version
- Inputs must cover the same period (month, quarter, or year) for a valid comparison.
- Use the cost of what was sold during the period, including applicable production labor and overhead. A stock purchase is not automatically the cost of goods sold that month.
- General administration, selling expenses, interest, and income tax are outside this gross-profit calculation. Adding them to COGS would change what the result measures.
- Gross profit is shown to two currency decimals and margin to two percentage decimals; the underlying calculation uses the unrounded inputs.
Gross profit formula
- Gross Profit = Revenue − Cost of Goods Sold
- Gross Margin = (Gross Profit ÷ Revenue) × 100
Example calculation
If your business earned $20,000 in revenue and the goods you sold cost $12,000, your gross profit is $20,000 − $12,000 = $8,000. Your gross margin is $8,000 ÷ $20,000 × 100 = 40%. That means 40 cents of every sales dollar is available to cover overhead and generate net profit.
Limits and interpretation
- Keep production costs separate from selling and administration costs. Include freight or labor in COGS only when that classification fits your accounting method; do not put every business payment here.
- At zero or negative revenue, the calculator shows a dash for margin because it requires positive revenue. The profit amount still subtracts COGS. If positive revenue is below COGS, both profit and margin are negative.
- COGS classification can vary across accounting systems. Use the same classification consistently across periods if you want a meaningful trend.
- This is an educational calculator and does not replace professional accounting, tax, or legal advice.
Why gross profit matters for small businesses
Gross profit tells you whether your pricing and sourcing are fundamentally sound. A rising gross margin usually signals better pricing power or cheaper inputs, while a falling margin is an early warning of trouble. Because it isolates direct product economics, it is the cleanest way to judge whether a product line deserves more investment.
- Compare the profitability of different products or categories.
- Spot rising supplier costs before they erode profit.
- Decide which products to promote, keep or discontinue.
- Build accurate forecasts based on real product economics.
Pair this tool with our profit margin and break even calculators to get a complete view of your business finances.