Choose a calculation and enter A and B. The result and the formula with your numbers appear right away. Switching the calculation keeps the numbers you entered, so you can try the same A and B with another calculation. Copy the result with the button at the top right. Change the number of decimal places with "Decimal places" (rounded half up).
Basics ・X% of Y: A × B ÷ 100 (30% of 200 is 60) ・X is what % of Y: A ÷ B × 100 (also shown as a decimal and a fraction) ・X is Y% of what: A ÷ B × 100
Change and comparison ・Percent change: (B − A) ÷ A × 100. Use it when there is an old value and a new value. ・Percent difference: |A − B| ÷ ((A + B) ÷ 2) × 100. Use it to compare two values when neither is the starting point. ・Percentage points: B − A. From 25% to 30% is +5 percentage points, but a 20% increase.
Discounts and increases ・% off: A × (100 − B) ÷ 100 ・Increase by %: A × (100 + B) ÷ 100. Also works for sales tax and tips. ・Price before discount: A ÷ (100 − B) × 100 ・Stacked discounts: 100 − (100 − A) × (100 − B) ÷ 100. 30% off and then 20% off is 44% off, not 50% off.
Business ・Profit margin: (price − cost) ÷ price × 100. Markup is profit ÷ cost × 100. ・Price from margin: cost ÷ (100 − margin) × 100. This is not cost × (1 + margin), which gives a markup instead.
Numbers with commas (such as 1,980) are accepted. The calculation and the numbers you enter are saved in the page URL, so you can bookmark or share them.