Ratio Calculator
Inputs
Ratio Calculator
Simplify a ratio and scale it to a given part.
Primary result
Ratio
8 : 12
Breakdown
Simplified2 : 3
Scaled B30
Formula
A:B = (A/g):(B/g) where g = gcd(A,B)
The greatest common divisor reduces a ratio. Scaling multiplies both parts by the same factor.
Example
8:12 simplifies to 2:3; if A=20 then B=30
FAQ
Can ratios use decimals?
Yes. They are converted with Decimal precision before simplifying integers when possible.
Related calculators
Fraction Calculator
Add, subtract, multiply, divide and simplify fractions.
GCD Calculator
Greatest common divisor (HCF) of integers.
Average Calculator
Arithmetic mean of a list of numbers.
LCM Calculator
Least common multiple of two or more integers.
Prime Number Calculator
Check if a number is prime and list its prime factors.
Random Number Generator
Generate random integers in a range using crypto-quality randomness when available.