Simplify a two-part ratio and see each part’s share of the whole.
Use this tool for simplifying proportions and calculating the distribution between two parts. Enter two nonnegative whole counts in the same unit. A ratio needs at least one positive count.
How to use the ratio calculator
Enter two nonnegative whole counts in the same unit. A ratio needs at least one positive count.
The form starts with a demonstration you can run immediately. Its starting inputs are First part = 36; Second part = 48. Replace these values with your own and select Calculate. Results appear underneath the buttons. Select Reset to restore the example. If you receive a validation message, check the field formats and try again.
What the calculation measures
Divide both terms by their greatest common divisor to reduce the ratio. Divide each original term by their sum to report its share of the total.
A two-to-three ratio does not mean the first part is two thirds of the total. There are five parts overall and the first part contributes two fifths.
The order of the two entries matters. If you swap the inputs, the ratio terms and shares swap as well.
Worked example and comparison cases
The example inputs below give you a baseline you can reproduce. You can enter a comparison case next to check how the result moves when one input or assumption changes.
Starting example
Enter First part 36; Second part 48. The results are Simplified ratio 3 : 4; First part of total (%) 42.857143; Second part of total (%) 57.142857. This is the starting scenario shown in the form.
The default ratio reduces by a factor common to both counts. The displayed share uses the total of those counts, so a ratio of three to four becomes three sevenths and four sevenths of the whole.
Comparison 1
Enter First part 12; Second part 18. The results are Simplified ratio 2 : 3; First part of total (%) 40; Second part of total (%) 60. Compared with the starting example, this case changes First part, Second part.
Twelve and eighteen reduce to two and three. Use this case to compare two groups of different sizes while keeping the total-count calculation separate from the simplified ratio.
Comparison 2
Enter First part 18; Second part 12. The results are Simplified ratio 3 : 2; First part of total (%) 60; Second part of total (%) 40. Compared with the starting example, this case changes First part, Second part.
Reversing the order preserves the same total but switches each share. Keep labels next to the two values so that the larger group does not get assigned to the wrong category.
Comparison 3
Enter First part 0; Second part 5. The results are Simplified ratio 0 : 1; First part of total (%) 0; Second part of total (%) 100. Compared with the starting example, this case changes First part, Second part.
A zero first count is allowed. The other term remains as the only positive part, so all of the total belongs to the second group.
Comparison 4
Enter First part 25; Second part 25. The results are Simplified ratio 1 : 1; First part of total (%) 50; Second part of total (%) 50. Compared with the starting example, this case changes First part, Second part.
Equal counts form a one-to-one ratio. Each group is half of the total, regardless of the size of the counts.
Check the inputs against your source
Write down where the inputs came from before relying on the result. If you copied numbers from two records, make sure the records describe the same person, transaction, period or dataset. Work from the original values if possible. A rounded amount shown in a report may be adequate for a quick check, but reusing several rounded values can move the final answer enough to matter.
For this calculation, start by checking first part, second part. A two-to-three ratio does not mean the first part is two thirds of the total. There are five parts overall and the first part contributes two fifths. If a source uses a different definition, record the two calculations separately so that you can explain any discrepancy. Before sharing the result, include the inputs alongside it so the next reader can reproduce it without guessing what you entered.
Compare scenarios without losing the baseline
Save the starting inputs and outputs before editing a value. Change one assumption, then read the result against your baseline. When several inputs need to change together, write down the reason for those changes and treat them as a separate scenario. This is especially useful when two people are comparing results from different documents or when the source data might be revised later.
The order of the two entries matters. If you swap the inputs, the ratio terms and shares swap as well. It helps to choose a realistic alternative, such as an actual quoted figure, a measurement in the correct unit, or another value supported by your dataset. Compare the magnitude of the difference as well as its direction. Small differences can be down to rounding. Larger differences are a reason to review whether the two scenarios started from comparable inputs.
Common questions
What should I do if I get a different answer elsewhere?
Replicate the inputs shown in the worked example first. If the result agrees there, check your own entry against the source values and compare the two methods. Pay particular attention to units, inclusions and any rounding convention. Divide both terms by their greatest common divisor to reduce the ratio. Divide each original term by their sum to report its share of the total.
How much precision should I keep?
Keep source values unrounded when you can. Choose the precision you report based on the question you are answering. For example, a figure you are using in a later calculation may need more digits than a figure you are giving in a quick summary. If a policy or quote supplies a rounding rule, compare your result using that rule.
Can I reuse the result when an input changes?
Recalculate when the measurement, quote or assumption changes. Record the prior result if it was part of a decision or report. A dated record makes it possible to compare the two runs accurately and see which difference came from a new input rather than an earlier entry mistake.