Choose your course

You set the course.

Rechnerpilot counts views and actions anonymously – without cookies and without recognition – and improves through that regardless of your choice. In addition, you can allow Google Analytics, which is loaded only after your consent. You can change your choice at any time.

Your calculation inputs and results are transmitted on neither path.

Skip to main contentSkip to calculator
RechnerpilotCalculation platform for everyday life, finance, data and technology
108 calculatorsLive resultsStep-by-step solutions
OverviewLatest
Mathematics

Rechnerpilot's math calculators solve everyday and school problems and show every step of the working. From a quick percentage to the statistical summary of a whole data set, each result is explained so you can follow exactly how it was reached.

All calculators: Mathematics ↗

Arithmetic & Algebra

  • Calculator
  • Fraction Calculator
  • Percentage Calculator
  • Discount Calculator
  • Surcharge Calculator
  • Percentage Change
  • Rule of Three Calculator

Statistics & Data Analysis

  • Grade Average Calculator
  • Statistics Calculator

Units & Conversion

  • Universal converter

Everyday Mathematics

  • Tip Calculator
  • Price Comparison Calculator
  • Margin Calculator
  • Recipe Converter
Finance

The finance calculators help with tax questions, loan planning and commercial arithmetic. Every result is shown with its formula and worked solution, so the numbers stay transparent and easy to check.

All calculators: Finance ↗

Investments & Wealth

  • Interest Calculator
  • Savings Plan Calculator
  • ETF Calculator
  • Withdrawal Plan Calculator
  • Compound Interest Calculator
  • Compound Interest Table
  • Savings Calculator
  • Overnight Deposit Calculator
  • Fixed Deposit Calculator
  • Savings Book Calculator
  • Current Account Calculator
  • German Capital Gains Tax Calculator (Abgeltungsteuer)
  • German Advance Lump-Sum Tax Calculator (Vorabpauschale)
  • Early Withdrawal Interest Calculator
  • German Retirement Investment Account Calculator
  • Return Calculator
  • Effective Interest Calculator
  • Inflation Calculator

Loans & Financing

  • Loan Calculator
  • Amortization Calculator
  • Property purchase cost calculator
  • Mortgage financing calculator
  • Buy-or-rent calculator
  • Property yield calculator
  • Leasing calculator
  • Car financing calculator

Taxes

  • German VAT Calculator (19% / 7%)
  • Real estate transfer tax calculator
  • German Vehicle Tax Calculator (Kfz-Steuer)

Business Finance

  • Cash Discount Calculator

Banking & Payments

  • Late Payment Interest Calculator
  • Day Count Calculator
  • Currency converter
  • IBAN checker
Household

The household calculators support you in planning energy costs and your personal budget. Work out the electricity a single appliance draws, or map your income against your spending with the budget planner.

All calculators: Household ↗

Energy & Consumption

  • Electricity Cost Calculator
  • Heating cost calculator
  • Gas cost calculator
  • PV self-consumption calculator

Housing & Rent

  • Rent calculator
  • Living space calculator

Budget & Planning

  • Budget Calculator

Miscellaneous

  • Cash and Coin Counter
  • Mobile tariff calculator
Time & Date

The time calculators handle everything around dates, age and duration. Count the days between two dates, work out your exact age, or add up hours and minutes for your working-time records.

All calculators: Time & Date ↗

Date & Calendar

  • Date Calculator
  • Working Days Calculator
  • Deadline Calculator
  • Public Holidays Calculator
  • Age Calculator

Duration & Times

  • Hours Calculator
Work & Career

The work calculators help with pay questions, time tracking and leave planning. From gross-to-net salary and hourly rates to your holiday entitlement, every result comes with a worked solution you can retrace. The salary figures follow German tax and social-security rules.

All calculators: Work & Career ↗

Working Time & Tracking

  • Working Time Calculator
  • Overtime Calculator

Salary & Income

  • Hourly Wage Calculator
  • Gross-Net Calculator
  • German Public Service Salary Calculator

Vacation & Leave

  • German Vacation Entitlement Calculator (BUrlG)

Project Management

  • Project Time Calculator
Mobility

The mobility calculators work out trip costs, fuel consumption and the share each passenger pays. They are ideal for commuters, car pools and planning longer drives before you set off.

All calculators: Mobility ↗

Car & Fuel

  • Fuel Cost Calculator
  • Car cost calculator

Electric Mobility

  • EV charging cost calculator
Health

The health calculators help you make sense of body metrics such as BMI or daily calorie needs. Every result is placed in context and explained, so a number never stands on its own.

All calculators: Health ↗

Body & Weight

  • BMI Calculator
  • Ideal Weight Calculator
  • Calorie Calculator

Pregnancy & Birth

  • Pregnancy Calculator
Sports & Training

Rechnerpilot's sport and training calculators help you plan endurance, strength and multisport training. From heart-rate zones and VO₂max through race predictions and FTP to swim CSS and triathlon target times, every result comes with a worked solution.

All calculators: Sports & Training ↗

Endurance & Running

  • Running Prediction Calculator
  • Pace Calculator
  • VDOT & Training Pace Calculator
  • Running Age Grade Calculator
  • Heart Rate Zone Calculator
  • VO₂max Calculator
  • Hiking Time Calculator
  • Rowing Ergometer Calculator

Strength Training

  • 1RM Calculator
  • RPE/RIR Training Weight Calculator
  • Barbell Plate Loading Calculator
  • Powerlifting score calculator

Cycling

  • FTP Calculator
  • Cycling Power Calculator
  • Bicycle Gear Calculator

Swimming

  • Swimming CSS Calculator

Multisport

  • Triathlon Target Time Calculator
Developer

The developer tools generate UUIDs, cryptographic hashes and Base64 encodings right in the browser. Every operation runs locally through the Web Crypto API — no data ever leaves your device.

All calculators: Developer ↗

Cryptography & Security

  • Hash & Password Hash Generator
  • UUID Generator

Encoding & Formats

  • Base64 Encoder
  • URL Encoder
  • JSON Formatter

Development Tools

  • Regex tester
Generators

The generators create random numbers, lottery draws, secure passwords and placeholder text from parameters you choose. Everything is generated locally in your browser, so nothing is sent anywhere.

All calculators: Generators ↗

Random & Lottery

  • Random Number Generator
  • Lottery Number Generator

Text & Names

  • Lorem Ipsum Generator
  • Name Generator

Organization & Design

  • Team Generator
  • QR Code Generator
  • Colour Generator

Security

  • Password Generator
  1. Home
  2. Mathematics
  3. Everyday Mathematics
  4. Practical Calculations
  5. Margin Calculator

Rechnerpilot Calculator

Margin Calculator

Calculate trade margin, markup and gross profit from purchase and selling price, or determine the selling price from a target margin or markup – net, with calculation steps.

Available
Selection

What should be calculated?

Inputs

Enter values

Live
Margin from pricesCalculate margin and markup from purchase and selling price.
€

The net purchase price of the item.

€

The net selling price of the item.

Load example

For illustration only – your own calculation is what counts.

Result

Understand the result
StatusReady
ReadyResult appears here

Enter your values. The result will appear automatically.

NoteEnter the purchase price and a second value to calculate the margin.
Is the result incorrect? Report an error

Calculation note

This calculation is for general orientation only. The result is based on your inputs and the stated assumptions, and may contain rounding.

Terms of use

Explanation

How Margin Calculator works

The trade margin shows how much of the selling price remains as gross profit after deducting the purchase price. The margin calculator works with net prices and deliberately distinguishes between margin (based on the selling price) and markup (based on the purchase price).

Depending on the mode, you calculate margin and markup from purchase and selling price, or you determine the required selling price from a target margin or a desired markup. The gross profit is always the difference between the selling and purchase price.

Margin (trade margin)Margin % = (selling price − purchase price) / selling price × 100

The gross profit is related to the selling price.

Markup (cost markup)Markup % = (selling price − purchase price) / purchase price × 100

The same gross profit is related to the purchase price and is therefore larger than the margin.

Don't confuse margin and markup

Margin and markup describe the same profit, but relative to different reference figures. The markup is always larger than the margin.

Knowledge

Margin, markup and reference figure

Margin and markup describe the same profit with a different reference figure.

The gross profit is the difference between the selling and purchase price. Whether it becomes a margin or a markup depends solely on the reference figure.

  • Margin: gross profit divided by the selling price.
  • Markup: gross profit divided by the purchase price (cost).
  • The markup is always larger than the margin.

Practice

Practical examples

For illustration only – your own calculation is what counts.

Margin from cost and selling price

An item costs EUR 60 to purchase and is sold for EUR 100. The gross profit is EUR 40.

Result: Cost EUR 60, selling price EUR 100 → margin 40%, markup ≈ 66.67%.

Selling price from a target margin

The purchase price is EUR 60, the target margin 40%. The required selling price is derived backwards.

Result: Cost EUR 60 at 40% margin → selling price EUR 100, profit EUR 40.

Selling price from a markup

A cost markup of 50% is applied to the purchase price of EUR 60.

Result: Cost EUR 60 plus 50% markup → selling price EUR 90, margin ≈ 33.33%.

Notes

Common mistakes

  1. Margin and markup confused

    The markup on the purchase price is given as the margin, even though it is calculated on a different reference figure (e.g. 66.67% markup stated as a 66.67% margin).

    Relate the margin to the selling price and the markup to the purchase price. The calculator shows both values in parallel.

  2. Percentage applied to the wrong figure

    The target margin is simply added to the purchase price instead of dividing the selling price by (1 − margin/100).

    The selling price from a target margin is given by selling price = cost / (1 − margin/100), not as cost × (1 + margin/100).

  3. Gross profit equated with net profit

    The gross profit from margin or markup is understood as the actual profit, even though fixed costs and taxes have not yet been deducted.

    The gross profit first covers fixed costs like rent, staff and taxes. The net profit is correspondingly smaller.

FAQ

Frequently asked questions

How do I calculate the margin?

The margin (trade margin) is the gross profit relative to the selling price: margin = (selling price − cost) / selling price × 100. For a purchase price of EUR 60 and a selling price of EUR 100 that is (100 − 60) / 100 = 40%.

What is the difference between margin and markup?

Both describe the same gross profit, but with a different reference figure: the margin relates the profit to the selling price, the markup to the purchase price. That is why the markup is always larger than the margin, for example a 40% margin corresponds to about a 66.67% markup.

How do I calculate the selling price from a target margin?

The selling price is given by selling price = cost / (1 − margin/100). For a purchase price of EUR 60 and a target margin of 40%, this gives 60 / (1 − 0.40) = EUR 100.

Why can't the margin reach 100%?

The margin is based on the selling price. A 100% margin would mean that the entire selling price is profit and the purchase price is EUR 0. The required selling price would tend towards infinity, so a margin of 100% or more is not defined.

Does the margin calculator work with or without VAT?

The calculator works with net prices without VAT. Margin and markup relate to the gross profit from purchase and selling price; taxes and fixed costs are not taken into account.

Limits

Limitations

  • The calculator works with net prices. VAT is not taken into account and must be calculated separately.
  • It calculates the gross profit from purchase and selling price. Fixed costs, discounts and taxes are not included.
  • The calculation relates to a single item. For a mixed calculation across several products, the values must be considered individually.

Last reviewed: 24/08/2026

Sources

Sources and references

  • Handelsspanne – DefinitionGabler Wirtschaftslexikon (Springer)

    Gabler business dictionary: defines the trade margin as the difference between selling and purchase price, based on the selling price.

    View sourceRetrieved: 09/09/2026 · Verified on: 08/24/2026
  • Kalkulationsaufschlag im Handel – DefinitionGabler Wirtschaftslexikon (Springer)

    Gabler business dictionary: describes the cost markup (Kalkulationszuschlag) as a percentage surcharge on the purchase price to determine the selling price.

    View sourceRetrieved: 09/09/2026 · Verified on: 08/24/2026

Related calculators

More tools

Similar task

Surcharge Calculator

The markup is the same calculation seen from the perspective of the purchase price.

Same situation

German VAT Calculator (19% / 7%)

After the margin, VAT often follows on the way to the gross price.

Similar task

Percentage Calculator

Margin and markup are percentage shares of price figures.

Report an error

Rechnerpilot

Calculation platform for everyday life, finance, data and technology.

About us

About RechnerpilotQuality standardsSources and methodologyDevelopment processEditorial & Quality

Service

KnowledgeLatestNew at RechnerpilotFAQContactReport an error

Legal

ImprintPrivacy policyTerms of useAccessibility

© 2026 bivani GmbH

Version 1.0.545