Start Free Trial
Pricing and Profitability Tool

Gross Margin and Markup Calculator
Understand the Profit in Every Sale

Calculate gross margin and markup from cost and selling price, find the price that hits a target margin, or work backward to find the cost that achieves a target markup. Three calculations in one tool.

Share LinkedIn Facebook
Pricing and Profitability Tool

Gross Margin and Markup Calculator

Gross Margin vs. Markup: What Is the Difference?

Gross margin and markup both measure the relationship between cost and price, but they use different denominators. Gross margin divides the profit by the selling price and expresses what percentage of revenue is profit. Markup divides the profit by the cost and expresses how much the cost was increased to reach the selling price. A product that costs $30 and sells for $50 has a 40% gross margin and a 66.67% markup -- different numbers describing the same transaction. Gross margin is the standard metric in financial reporting; markup is more common in day-to-day pricing conversations.

Gross Margin and Markup Formulas

Gross Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100
Markup (%) = (Selling Price − Cost) ÷ Cost × 100
Price from Margin: Selling Price = Cost ÷ (1 − Margin%/100)
Price from Markup: Selling Price = Cost × (1 + Markup%/100)
Cost from Margin: Cost = Price × (1 − Margin%/100)
Cost from Markup: Cost = Price ÷ (1 + Markup%/100)

Gross Margin Example

Cost: $30  |  Selling Price: $50
Gross Margin = ($50 − $30) ÷ $50 × 100 = 40%
Markup = ($50 − $30) ÷ $30 × 100 = 66.67%

What Is a Good Gross Margin?

Gross margin benchmarks vary significantly by industry. Software and SaaS companies typically run 60 to 85 percent. Professional services typically run 30 to 60 percent. Retail and e-commerce typically run 20 to 50 percent. Restaurants and food service typically run 60 to 70 percent on food cost alone, though overall business margins are much lower after labor and overhead. Knowing your gross margin and comparing it to your industry benchmark tells you whether your pricing and cost structure are competitive or whether there is a structural profitability problem to address.

Put Your Finance Data to Work in Updoot

Budget to Actual Tracker

Track planned versus actual spend across projects, departments, and time periods. Spot variances before they become problems and keep financial performance visible to the whole team.

Payroll-Ready Exports

Export hours, overtime, tips, bonuses, and mileage to Gusto, ADP, Paychex, and more. Gross pay calculated automatically. No manual reconciliation at the end of each pay period.

Invoice Generator and Project Billing

Convert tracked project time directly into client invoices. Approved hours become billable line items in one click so revenue that is earned gets captured and sent without delay.

P&L Builder and Vendor Management

Build profit and loss statements and track vendor scorecards in the same platform where your team manages projects, time, and HR. No separate finance tool required.

Start Free. Stay Because It Works.

14 days, full access, no credit card. Budget tracking, payroll exports, invoicing, and more in one platform.

Start My Free 14-Day Trial

No credit card required  ·  Cancel anytime