Skip to content
SmartDailyCalculator

Ratio Calculator

Simplify a ratio such as 12 : 18, or solve a proportion like 2 : 3 = 10 : x.

Simplified ratio

2 : 3

As 1 : n
1 : 1.5
A ÷ B
0.666667
A as a share of the total
40%
B as a share of the total
60%

How to use the Ratio Calculator

  1. Choose whether to simplify a ratio or solve a proportion.
  2. To simplify, enter A and B. To solve A : B = C : x, also enter C.
  3. Read the simplified ratio, its 1 : n form and each side's share of the total, or the missing value x.

Ratio and proportion formulas

A:B=Ag:Bg
A:B=C:x→x=B×CA

Where:

g
= greatest common divisor of A and B
x
= the missing value
Show as plain text

Simplify: divide A and B by their greatest common divisor Proportion: A : B = C : x → x = B × C ÷ A

A ratio compares two quantities. Dividing both sides by the same number does not change the comparison, so 12 : 18 and 2 : 3 describe the same relationship.

Decimals are first scaled up to whole numbers (1.5 : 2 becomes 15 : 20) and then reduced. A proportion states that two ratios are equal, and cross-multiplying gives the missing term.

Assumptions and limitations

  • Values must be zero or positive.
  • Results other than the simplified ratio are rounded to 6 decimal places.

Example: Simplify 12 : 18, then scale it

  1. The greatest common divisor of 12 and 18 is 6.
  2. Divide both sides: 12 ÷ 6 = 2 and 18 ÷ 6 = 3, so the ratio is 2 : 3.
  3. To keep the same ratio with 10 on the left: x = 18 × 10 ÷ 12 = 15, so 12 : 18 = 10 : 15.

When to use the Ratio Calculator

  • Scaling a recipe or a concrete mix while keeping ingredients in proportion.
  • Resizing an image or screen while keeping its aspect ratio.
  • Expressing a roof slope as a ratio before converting it with the roof pitch calculator.

Ratio Calculator FAQs

How do I work out an aspect ratio?

Enter the width and height and simplify. A 1920 × 1080 screen reduces to 16 : 9.

What is the difference between a ratio and a fraction?

A ratio of 2 : 3 compares two parts to each other. As fractions of the whole, those parts are 2/5 and 3/5, which is what the “share of the total” rows show.

How do I split an amount in a given ratio?

Add the parts of the ratio, divide the amount by that total, then multiply by each part. To share $600 in the ratio 2 : 3, there are 5 parts of $120, so the shares are $240 and $360. The calculator shows each side's share of the total as a percentage.

How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.