Percentage Calculator — Solve Any Percent Problem

Calculate percentages instantly. Find X% of Y, what percent X is of Y, percentage change, and convert between markup and margin.

Runs in your browser No signup required Free forever
Result

How to Use the Percentage Calculator

Select the calculation mode you need using the tabs above, enter your numbers, and the result appears instantly — no need to click a button.

How to Calculate Percentages

Finding X% of a number

To find X% of Y, multiply Y by X and divide by 100. For example, to find 25% of 80: 80 × 25 ÷ 100 = 20.

Finding what percent X is of Y

Divide the part by the whole and multiply by 100. For example, 45 is what percent of 180? Answer: 45 ÷ 180 × 100 = 25%.

Calculating percentage change

Subtract the old value from the new value, divide by the absolute value of the old value, and multiply by 100. A positive result is an increase; negative is a decrease.

Markup vs margin

Markup and margin are two ways to express profit as a percentage. Markup is based on cost: (selling price − cost) ÷ cost × 100. Margin is based on selling price: (selling price − cost) ÷ selling price × 100. A 100% markup always equals a 50% margin.

Common Percentage Calculations

CalculationFormulaExample
X% of YY × X ÷ 10015% of 200 = 30
X is what % of YX ÷ Y × 10030 is 15% of 200
% increase(new − old) ÷ old × 10050 to 75 = +50%
% decrease(old − new) ÷ old × 100100 to 80 = −20%
Markup to marginmarkup ÷ (100 + markup) × 10050% markup = 33.3% margin

Frequently Asked Questions

How do I calculate a percentage of a number?
Multiply the number by the percentage and divide by 100. For example, 15% of 200 = 200 × 15 ÷ 100 = 30.
How do I find what percent one number is of another?
Divide the part by the whole and multiply by 100. For example, 30 is what percent of 200? 30 ÷ 200 × 100 = 15%.
How do I calculate percentage change?
Subtract the old value from the new value, divide by the absolute value of the old value, then multiply by 100. A positive result means increase, negative means decrease.
What is the difference between markup and margin?
Markup is the percentage added to cost price to get the selling price. Margin is the percentage of the selling price that is profit. A 100% markup equals a 50% margin.
Is this calculator free?
Yes, completely free with no signup required. All calculations happen in your browser — nothing is sent to a server.
Can I share my calculation?
Yes! The URL updates with your inputs automatically, so you can copy and share the link with anyone to show them the exact calculation.
How accurate are the results?
Results are calculated using standard floating-point arithmetic and displayed with up to 4 decimal places of precision.
Does this work on mobile?
Yes, the calculator is fully responsive and designed to work on all screen sizes including phones and tablets.