Ratio Simplifier

Simplify a:b · Solve a/b = c/d · Check

Simplified ratio
—
Decimal equivalent
—
Algebraic share a/(a+b) (%)
—
Unknown
—
a/b = c/d
—
a·d
—
b·c
—
a·d = b·c
—

Use a decimal point. Decimal ratios are reduced exactly to coprime integers, with positive second term. Solving a proportion requires nonzero b and d and a unique solution; the unknown field is ignored. Cross-products are exact fractions. The algebraic share is undefined when a+b=0 and may fall outside 0–100 for signed values. Other numeric results are rounded to 12 significant digits. Input bounds: |a|,|b|,|c|,|d| ≤ 10¹²; Δ ≥ 10⁻²⁴.

Checking uses all four values and compares the exact fractions a·d and b·c. b and d must be nonzero. A false proportion is a valid check result, not an input error.

Rule of Three Calculator

How ratio simplification works

Use a decimal point. Decimal ratios are reduced exactly to coprime integers, with positive second term. Solving a proportion requires nonzero b and d and a unique solution; the unknown field is ignored. Cross-products are exact fractions. The algebraic share is undefined when a+b=0 and may fall outside 0–100 for signed values. Other numeric results are rounded to 12 significant digits. Input bounds: |a|,|b|,|c|,|d| ≤ 10¹²; Δ ≥ 10⁻²⁴.

Checking uses all four values and compares the exact fractions a·d and b·c. b and d must be nonzero. A false proportion is a valid check result, not an input error.

a/b=c/d; a·d=b·c.

Frequently asked questions

What does it mean for a ratio to be in "lowest terms"?

A ratio is in lowest terms when the two numbers have no common factors left to divide out — their greatest common divisor is 1.

Is a ratio the same as a fraction?

They're closely related — a ratio a:b can be written as the fraction a/b, and simplifying a ratio uses the exact same process (dividing by the GCD) as simplifying a fraction.

What if my ratio has a decimal number, like 2.5:5?

Use a decimal point. Decimal ratios are reduced exactly to coprime integers, with positive second term. Solving a proportion requires nonzero b and d and a unique solution; the unknown field is ignored. Cross-products are exact fractions. The algebraic share is undefined when a+b=0 and may fall outside 0–100 for signed values. Other numeric results are rounded to 12 significant digits. Input bounds: |a|,|b|,|c|,|d| ≤ 10¹²; Δ ≥ 10⁻²⁴.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Mode = Simplify a:b
a = 12
b = 18
Simplified ratio: 2 : 3
Decimal equivalent: 0.666666666667
Algebraic share a/(a+b) (%): 40
2
Mode = Simplify a:b
a = 2.5
b = 5
Simplified ratio: 1 : 2
Decimal equivalent: 0.5
Algebraic share a/(a+b) (%): 33.3333333333
3
Mode = Simplify a:b
a = 0
b = 3
Simplified ratio: 0 : 1
Decimal equivalent: 0
Algebraic share a/(a+b) (%): 0
4
Mode = Simplify a:b
a = -12
b = 18
Simplified ratio: -2 : 3
Decimal equivalent: -0.666666666667
Algebraic share a/(a+b) (%): -200
5
Mode = Simplify a:b
a = 12
b = -18
Simplified ratio: -2 : 3
Decimal equivalent: -0.666666666667
Algebraic share a/(a+b) (%): -200
6
Mode = Simplify a:b
a = -12
b = -18
Simplified ratio: 2 : 3
Decimal equivalent: 0.666666666667
Algebraic share a/(a+b) (%): 40

How we test our calculators →

Also try:

Back to category →