Use this free ratio calculator to solve A:B = C:D or make A:B simpler. First, choose the missing value: A, B, C, or D. Then enter the other three numbers. Finally, select Calculate to see the answer, the steps, and the simpler A:B ratio. The calculator does the math in your browser.
Calculated locally in your browser — nothing is sent to our server.
How to Use the Ratio Calculator
- First, choose the value you want to find: A, B, C, or D.
- Next, leave that field blank and enter the other three numbers.
- Finally, select Calculate. The calculator shows the answer, the steps, and the simpler A:B ratio.
How the Ratio Formula Works
To solve A:B = C:D, multiply across: A × D = B × C. Next, rearrange the equation to find the missing value. For example, if 2:3 = 8:D, then D = (3 × 8) ÷ 2 = 12. Likewise, use A = (B × C) ÷ D, B = (A × D) ÷ C, or C = (A × D) ÷ B when one of those values is missing.
To make A:B simpler, the calculator divides both numbers by their largest shared factor. For example, 1.5:2.5 becomes 3:5. Also, you can enter decimals; use up to six decimal places for a simpler ratio. A formula cannot divide by zero, so the calculator shows an error if its divisor is zero.
Frequently Asked Questions
Can I solve for A, B, C, or D?
Yes. Choose the missing value, leave its field blank, and enter the other three numbers. Then select Calculate to see the answer.
Can I use decimal values?
Yes. Enter decimals in any value. For a simpler A:B result, use up to six decimal places.
Can a value be zero?
Sometimes. A formula cannot divide by zero. For example, the calculator divides by A when it finds D, so A must not be zero. If the selected formula would divide by zero, the calculator tells you what to change.
Are my values uploaded or saved?
Your numbers stay in your browser. We do not upload them to our server.
Is the ratio calculator free?
Yes. Use it without an account or subscription.
