Ratio Calculator
Simplify a ratio or solve for a missing value in a proportion.
This tool runs entirely in your browser. Your files are never uploaded to a server.
Simplify a:b, and solve a:b = c:d — leave one of c/d empty to solve for it.
1:2
Simplified ratio
20
Solved for d
What this calculator does
Simplifies a ratio a:b to its smallest whole-number form and, optionally, solves the missing value in a proportion a:b = c:d.
How to use it
Enter a and b to see the simplified ratio. To solve a proportion, also fill in c and leave d blank (or fill in d and leave c blank) — the calculator solves for whichever field is empty.
Worked example
A ratio of 4:6 simplifies to 2:3. Solving 4:6 = 10:d with c = 10 gives d = b × c / a = 6 × 10 / 4 = 15.
Formulas used
Simplification divides a and b by their greatest common divisor. Solving the proportion uses d = b × c / a when d is blank, or c = a × d / b when c is blank.
Simplification behavior
The greatest common divisor is found from the rounded absolute values of a and b, so whole-number ratios are the reliable case — decimal inputs are accepted but the simplified output may not be mathematically minimal.
Limitations
b cannot be zero, since a ratio can't have a zero second term. Setting a to zero can make a solved proportion value non-finite. Non-integer results display to two decimal places.
Privacy
Calculations run locally in your browser; the values you enter are not uploaded.
Frequently Asked Questions
- How is a ratio simplified?
- Both numbers are divided by their greatest common divisor (GCD), reducing the ratio to its smallest whole-number form.
- How do I solve for a missing value?
- Fill in a, b and c, and leave d blank (or vice versa) — the calculator solves the proportion a:b = c:d for the missing value.
- Can ratios include decimals?
- Yes, decimal values are accepted, though simplification works best with whole numbers.
Related Tools
Fraction Calculator
Add, subtract, multiply or divide two fractions.
Unit Price Calculator
Compare two products to find which is cheaper per unit.
Average Calculator
Calculate mean, median, mode and range from a list of numbers.
Age Calculator
Calculate exact age in years, months and days.
BMI Calculator
Calculate your Body Mass Index from height and weight.
Break-Even Calculator
Find how many units you need to sell to break even.