Calculate and simplify ratios. Enter two values to get the simplified ratio, plus each value's share as a percentage.
Enter two values. The calculator divides both by their greatest common divisor to simplify the ratio, and shows each value's share of the total as a percentage.
No saved calculations yet.
A ratio calculator simplifies a pair of numbers to their smallest whole-number ratio by dividing both by their greatest common divisor, and shows each part's share of the whole.
For example, 6 and 9 share a GCD of 3, so the ratio is 6:9 → 2:3.
The values are rounded to whole numbers before finding the GCD, so very small decimals are best scaled up first. For exact decimal ratios, multiply both by a power of ten before entering.
If either value is zero the GCD is treated as 1 to avoid a divide-by-zero, and the percentage shares are shown as zero where the total is zero.