Ratio calculator
Ratios simplify by the greatest common divisor and scale by cross multiplication.
Simplified first term
2
- Simplified second term
- 5
- As a single number
- 0.4
- Second term when the first is scaled
- 15
- First term as a share of the total
- 28.5714 %
- Greatest common divisor
- 8
Show the working
- First term = 16
- Second term = 40
- Scale the first term to = 6
- Greatest common divisor = gcd(round(16), round(40)) = 8
- Simplified first term = 16 / 8 = 2
- Simplified second term = 40 / 8 = 5
- As a single number = 16 / 40 = 0.4
- Second term when the first is scaled = 6 * 40 / 16 = 15
- First term as a share of the total = 16 / (16 + 40) * 100 = 28.5714
Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.
Scenarios & local history
Compare a saved scenario
Recent calculations
The formula
- a : b simplifies by dividing both by gcd(a, b)
- If a : b = c : d then d = c b / a