PercentSwift

Percentage calculator

Calculate percentages, changes and everyday prices. See the formula behind your answer.

Free. No account. No payment.

Result

30

⁨20 %⁩ of ⁨150⁩ is ⁨30⁩.

Show calculation steps

Divide the percentage by 100, then multiply by the number.

Formula

r = p ÷ 100 × x

Calculation steps

  1. ⁦20⁩ ÷ ⁦100⁩ = ⁦0.2⁩
  2. ⁦0.2⁩ × ⁦150⁩ = ⁦30⁩

Numbers are displayed to at most 6 decimal places.

More options

Select the jurisdiction independently of your language. Portugal’s islands and Spain’s other tax territories need separate treatment.

Choose a calculation

How we calculate

Try an example

Understand the calculation

Divide the percentage by 100, then multiply by the number.

r = p ÷ 100 × x

The shared engine uses decimal arithmetic backed by integers. Division uses up to 30 decimal places, then the interface rounds the displayed result. Change uses the absolute starting value; difference uses the average of absolute values.

Guides

Understand the calculation

Guides