LogoPractical Web Tools

File Converters

  • PDF Tools
  • Image Converter
  • Video Converter
  • Audio Converter
  • Document Converter
  • eBook Converter
  • Archive Tools
  • File Tools

Calculators

  • Finance Calculators
  • Health Calculators
  • Math Calculators
  • Science Calculators
  • Other Tools

Popular Tools

  • PDF to Word
  • HEIC to JPG
  • Merge PDF
  • Fillable PDF Creator
  • Mortgage Calculator
  • BMI Calculator
  • AI Chat

AI Tools

  • AI Video Generator
  • Background Removal
  • Ebook Writer
  • AI Chat
  • Text to Speech
  • AI Image Generator
  • AI Audio Generator
  • Browse AI Models
  • AI Document OCR
  • AI Humanizer
  • AI Reddit Outreach
  • AI Code Editor
  • Agent Playground
  • AI Notepad
  • AI Character Chat
  • AI Headshot Generator

Company

  • About Us
  • Blog
  • Contact
  • Request a Tool

Legal

  • Privacy Policy
  • Terms of Service
Email Support
Practical Web Tools Logo
Practical Web Tools

Free Tools — Your Files Never Leave Your Device

Practical Web Tools - Convert files & chat with AI — fully offline | Product Hunt

© 2026 Opal Emporium LLC. All rights reserved.

Privacy-first file conversion and AI chat. No accounts, no uploads, no tracking.

  1. Home
  2. Financial Tools
  3. Margin Calculator

Margin Calculator

Calculate profit margin, markup, and selling price. Convert between margin and markup percentages for pricing and profitability analysis.

By Joseph Orduna·Reviewed April 16, 2026·How this works
Formula:Margin = (Revenue - Cost) / Revenue × 100

Margin Results

Profit Margin

30.00%

Markup

42.86%

On cost

Profit$30
Cost$70
Revenue$100

Calculation Mode

Select what you want to calculate

Values

Enter your cost and revenue figures

11,000
11,000

Price Breakdown

Visual cost and profit distribution

Cost

$70

70.0%

Profit

$30

30.0%

Revenue

$100

100%

Formulas

Mathematical formulas used

Profit Margin Formula:

Margin = (Revenue - Cost) / Revenue × 100

= ($100 - $70) / $100 × 100 = 30.00%

Markup Formula:

Markup = (Revenue - Cost) / Cost × 100

= ($100 - $70) / $70 × 100 = 42.86%

Margin / Markup Conversion

Quick reference conversion table

MarginMarkupMarginMarkup
10%11.1%40%66.7%
15%17.6%50%100%
20%25%60%150%
25%33.3%70%233.3%
30%42.9%80%400%

Industry Margin Benchmarks

Typical margins by industry

IndustryGross MarginNet Margin
Software/SaaS70-90%15-25%
E-commerce40-60%5-10%
Retail25-35%2-5%
Restaurants60-70%3-9%
Manufacturing25-35%5-10%
Professional Services50-70%10-20%

What if you targeted a different margin?

5%30%80%

Required Revenue

$100

Personalized Insights

2 insights based on your inputs

Volume Impact

At 100 units/month, you'd generate $3,000 in monthly profit.

Break-Even Point

With $10K fixed costs, you'd break even at 334 units.

Related Calculators

Explore other tools that might help

Markup Calculator

Calculate markup percentages

Profit Calculator

Analyze profit metrics

Discount Calculator

Price discount calculations

ROI Calculator

Return on investment

View all finance calculators

Frequently Asked Questions

Profit margin is the percentage of revenue that remains as profit after subtracting costs. Calculated as (Revenue - Cost) / Revenue × 100. A 30% margin means you keep $0.30 of every dollar in revenue as profit.

Percentage of revenue kept as profit. Formula: (Revenue - Cost) / Revenue × 100.

Margin is profit as a percentage of selling price (revenue). Markup is profit as a percentage of cost. A 50% markup on a $100 item = $150 price with $50 profit. The same $50 profit gives a 33.3% margin ($50/$150).

Margin: profit ÷ revenue. Markup: profit ÷ cost. 50% markup = 33.3% margin.

Good margins vary by industry. Retail: 2-4% net, Restaurants: 3-9%, Software: 70-90% gross. Focus on gross margin (before overhead) and net margin (after all expenses). Compare to industry benchmarks.

Varies by industry. Retail: 2-4%, Software: 70-90%. Compare to industry benchmarks.

Margin = Markup / (1 + Markup). For example, 50% markup = 0.50 / 1.50 = 0.333 = 33.3% margin. Conversely, Markup = Margin / (1 - Margin). 33.3% margin = 0.333 / 0.667 = 50% markup.

Margin = Markup ÷ (1 + Markup). 50% markup = 33.3% margin.

Gross margin subtracts only direct costs (COGS) from revenue. Net margin subtracts all expenses including overhead, taxes, and interest. A business can have 60% gross margin but only 10% net margin after expenses.

Gross: revenue minus direct costs. Net: after all expenses. Big gap is normal.

How this works

Calculations are run entirely in your browser. No inputs are sent to our servers and no account is required. Formulas follow standard US definitions from the IRS and the CFPB where applicable; international users should confirm local tax and regulatory rules apply.

What this tool can’t do

When to consult a professional

This is a software engineering tool, not financial advice. Run the math here, then take the result to a certified financial planner, CPA, or your bank before making a decision that materially affects your money.

Sources

  1. [1]
    Consumer Financial Protection Bureau (CFPB)
    Official source·consumerfinance.gov·Accessed Apr 21, 2026

    US consumer finance regulator; authoritative on mortgage disclosures, APR rules, credit cards.

Not financial advice

This tool is an educational calculator built by a software engineer, not a licensed financial advisor. Results are informational only. Before making financial decisions, consult a certified financial planner, CPA, or your bank.

Consumer Financial Protection Bureau →

Joseph Orduna
Joseph OrdunaFounder & Software Engineer

Full-stack software engineer specializing in embedded systems, web architecture, and AI/ML. Founder of Practical Web Tools. Built the gesture-controlled drone IP acquired by KD Interactive (Aura Drone, sold on Amazon).

Full bioLinkedIn

Margin Results

Profit Margin

30.00%

Markup

42.86%

On cost

Profit$30
Cost$70
Revenue$100