What this Income Inequality Calculator does
The Income Inequality Calculator estimates a population-weighted mean income for a simplified population divided into two groups. You enter the total number of people, the number in a top income group, and the average income for that group and for everyone else. The result is one average for the combined population, expressed in the same currency units and period as your entries.
The title uses the phrase “income inequality,” but this model does not calculate a standard inequality statistic such as a Gini coefficient, nor does it describe every income level between the two group averages. It answers a narrower question: what is the weighted average income implied by these two group sizes and averages? This distinction matters when using it to discuss equity and demographics. A single mean can summarize a population, but it cannot show how income varies within either group or how characteristics such as age, household size, or location relate to income.
The calculator's description is: “Estimate population-weighted average income from the population count, the size of a top income group, and the average incomes of that group and everyone else. This simple two-group model does not measure the full income distribution or calculate an inequality index.”
How to use the Income Inequality Calculator
Choose a consistent population and income definition before entering figures. The total population and top-group population must refer to the same population, geography, and time frame. Both average incomes must use the same currency and period, such as dollars per year or euros per month. The calculator does not convert currencies or adjust incomes for inflation, taxes, or household size.
- Enter Total population (people), a whole-number count of everyone represented.
- Enter Top-group population (people), a whole-number count between zero and the total population.
- Enter Top-group average income (currency units per period) for the selected group.
- Enter Other-group average income (same currency units per period) for all remaining people.
- Read the Population-Weighted Mean Income result in the same units and period as the income entries.
For example, suppose a population has 1,000 people. A group of 100 has average income of 10,000 currency units per year, while the other 900 have average income of 3,000 units per year. The weighted total is 100 × 10,000 + 900 × 3,000, or 3,700,000 currency units per year. Dividing by 1,000 people gives a population-weighted mean of 3,700 currency units per person per year. This example follows the calculator formula and assumes the two groups cover the entire population without overlap.
How the Income Inequality Calculator formula works
The formula is (top_group_people × top_average_income + (population_total − top_group_people) × other_average_income) / population_total. It first multiplies each group's headcount by its average income. Adding those amounts gives the implied total income across both groups. Dividing by the total population produces the weighted mean.
The group counts act as weights. If a group contains more people, its average contributes more to the combined mean. This is why simply averaging the two group averages would generally give a different and misleading result unless the groups were equal in size. The formula treats every person as one observation and assumes the provided group average represents every member of that group.
Inputs use these ranges and defaults: total population is a whole count from 1 to 1,000,000,000, default 1,000; top-group population is a whole count from 0 to 1,000,000,000, default 100; each group average income ranges from 0 to 1,000,000,000 currency units per period, with defaults of 10,000 and 3,000. Keep the top-group count at or below the total population. When it equals zero, the entire population is represented by the other-group average. When it equals the total, the other-group count is zero. Because total population has a minimum of one, the formula never divides by zero. If both income averages are zero, the result is zero.
The output is a population-weighted estimate, displayed to two decimal places. It does not infer missing data, calculate a median, or estimate an inequality measure. The two group averages and headcounts are the only information represented.
Use cases for the Income Inequality Calculator
This model can help make basic comparisons visible in demographic or equity discussions. For example, a student might compare the implied overall mean when the size of a top income group changes while its average and the other group's average stay fixed. A community group could illustrate how population shares influence an overall figure when presenting a clearly labeled hypothetical scenario.
It can also help check arithmetic in a small two-group worksheet. If a report gives compatible headcounts and group averages, the formula shows the mean those figures imply. Use this as a transparent calculation, then consult the original dataset or report for definitions and methods before drawing conclusions.
- Compare scenarios that change the share of the population in the top group.
- Explain why a large group can strongly influence a population average.
- Check a two-group weighted-mean calculation from consistently defined data.
For comparisons across places or demographic groups, ensure that population coverage, income period, currency, and income definition align. Differences in data collection or group boundaries can make numerical comparisons unreliable even when the arithmetic is correct.
Other factors to consider when calculating income inequality
Income inequality describes a distribution, while this calculator compresses that distribution into two group averages and one overall mean. Many different distributions can share the same mean. Within-group inequality is invisible here, as are gaps between groups beyond their average values. The result also cannot show whether most people earn near the average or whether a few unusually high incomes affect it.
Interpretation depends on what “income” means in the source data. It may refer to individual earnings, household income, pre-tax income, or disposable income after taxes and transfers. Household income may need adjustment for household size to compare living standards. The calculator makes none of these adjustments, so use one definition consistently and label it clearly.
Population boundaries also matter. A demographic group can be defined by age, location, occupation, or another characteristic, but the two groups must be exhaustive and non-overlapping for the calculation to represent the stated total population. If people are omitted or counted twice, the result will not be a valid mean for that population. The tool has no inputs for a third group, uncertainty, or subgroup breakdowns.
Finally, a mean is not a personal forecast or a measure of an individual's circumstances. It is a summary of the supplied group data. For a fuller analysis, use a dataset that captures the distribution and select an inequality measure appropriate to the question. Describe the data source, population, period, and income definition alongside any reported result.
Income Inequality Calculator FAQ
Does this calculator measure income inequality directly?
No. It calculates a population-weighted mean using two group averages and their population counts. It does not calculate a Gini coefficient or another distribution-based inequality index.
Can the top group include the entire population?
Yes. Set the top-group population equal to the total population. The other group then contains zero people, so the result equals the top-group average income.
What happens if the top group has zero people?
The top group's contribution is zero, and everyone is represented by the other-group average. The result equals that average.
Can I enter monthly income for one group and annual income for the other?
No. Both group averages need the same currency and period. Convert the figures using a consistent method before entering them. The calculator does not perform conversions.
Why might this mean differ from a published average?
The source may use a different population, income definition, time period, weighting method, or more detailed data than this two-group model. Check the source methodology and ensure the figures cover the same people before comparing results.