How to calculate
For a part to part ratio, add both terms to get the whole. For a part to whole ratio, the second term is already the whole. Divide the part by the whole.
Worked example
Use First ratio term 12 · Second ratio term 18 · Ratio type Part to part. The result is 2/5.
Input and result notes
Enter whole numbers, fractions such as 3/5, mixed numbers such as 1 1/2, or decimals.
OpenStax on ratios and proportions