ForHosting KIT · Finance & money

National income from GDP calculator

Go from GDP to national income step by step: GDP of 20000, depreciation of 2500, net foreign factor income of 150 and a statistical discrepancy of 40 give national income of 17610, with GNP, NDP and NNP shown. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Gdp
20,000
Depreciation
2,500
Net foreign factor income
150
Statistical discrepancy
40
You get
Gnp
20,150
Ndp
17,500
Nnp
17,650
National income
17,610

National income sits a few careful adjustments below gross domestic product in every principles textbook and statistical agency bridge table. Students and analysts start from GDP, subtract consumption of fixed capital (depreciation), add net foreign factor income to move from domestic to national product concepts, and remove the statistical discrepancy that reconciles the product side with the income side. Hand arithmetic on large currency totals invites sign errors on net factor income and confusion between NDP and NNP. This national income from GDP calculator accepts four finite inputs—GDP, depreciation, net foreign factor income, and statistical discrepancy—returns GNP, NDP, NNP, and national income with a compact formula string, and rejects negative GDP or negative depreciation so the bridge stays defined for classroom and notebook use.

How GDP becomes national income in the product-side bridge

Gross domestic product measures the market value of final goods and services produced within a country’s borders during a period, regardless of who owns the factors of production. Gross national product adjusts that domestic total for net foreign factor income: wages, profits, and property income earned by residents from abroad minus similar payments to non-residents at home. Adding NFFI to GDP yields GNP.

Depreciation—also called consumption of fixed capital or capital consumption allowance—is then subtracted because part of current output merely replaces worn capital and is not available as net product. Net domestic product is GDP minus depreciation; net national product is GNP minus depreciation, which equals NDP plus NFFI. National income in this bridge is net national product minus the statistical discrepancy, the residual statistical agencies use when product-side and income-side estimates do not match exactly.

The capability implements exactly that chain: GNP equals GDP plus net foreign factor income; NDP equals GDP minus depreciation; NNP equals GNP minus depreciation; national income equals NNP minus statistical discrepancy. Intermediate fields are returned so learners can check each step against a textbook table rather than only the final NI figure. Net foreign factor income may be negative when the economy is a net payer to the rest of the world; statistical discrepancy may be positive or negative depending on which side of the accounts is larger.

Depreciation and GDP are constrained to non-negative values for a coherent study model of the classic bridge.

Where a national income from GDP calculator earns its keep

Introductory macroeconomics courses assign GDP-to-national-income bridge problems because students must distinguish domestic from national product and gross from net concepts before they meet personal income and disposable income. Tutoring platforms and LMS plugins need a deterministic oracle that rejects negative depreciation instead of silently inventing a larger NNP that a buggy grader might accept. Research assistants building small historical tables from published GDP, CFC, and NFFI series want intermediate GNP, NDP, and NNP without rebuilding the arithmetic in every spreadsheet.

Pair this capability with separate personal-income tools when you need taxes and transfers; keep this surface focused on the product-side bridge from GDP to national income.

Homework and exam national-accounts bridges

Students enter GDP, depreciation, NFFI, and statistical discrepancy and verify GNP, NDP, NNP, and national income against textbook bridge tables.

Macro notebooks and teaching demos

Compute intermediate aggregates for slides or historical series without rebuilding the GDP→NI chain in a spreadsheet each semester.

How do you get national income from GDP?

Add net foreign factor income to GDP to get GNP, subtract depreciation to get NNP (and NDP as GDP minus depreciation), then subtract the statistical discrepancy. This calculator returns each step.

What is net foreign factor income (NFFI)?

NFFI is income residents earn abroad minus income non-residents earn domestically. It may be negative. GNP = GDP + NFFI.

Why must depreciation be non-negative?

Consumption of fixed capital cannot be negative in this national-accounts bridge.

What is the statistical discrepancy?

It is the residual that reconciles product-side NNP with the income-side estimate of national income. NI = NNP − statistical discrepancy in this tool.

What is the difference between NDP and NNP?

NDP is GDP minus depreciation, a domestic measure. NNP is GNP minus depreciation, which equals NDP plus net foreign factor income. In the example, NDP is 17500 and NNP is 17650.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/econ/national-income-from-gdp

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/econ/national-income-from-gdp \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"gdp":20000,"depreciation":2500,"net_foreign_factor_income":150,"statistical_discrepancy":40}'
{
  "gdp": 20000,
  "depreciation": 2500,
  "net_foreign_factor_income": 150,
  "statistical_discrepancy": 40
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "econ.national_income_from_gdp",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Input contract, response shape, and validation behaviour

Negative GDP fails because this bridge treats GDP as a non-negative aggregate. Negative depreciation fails because capital consumption cannot be negative in the standard accounts story this tool teaches. Example: GDP twenty thousand, depreciation two thousand five hundred, NFFI one hundred fifty, statistical discrepancy forty yields GNP of twenty thousand one hundred fifty, NDP of seventeen thousand five hundred, NNP of seventeen thousand six hundred fifty, and national income of seventeen thousand six hundred ten. POST a JSON body with four required finite numbers: gdp, the non-negative gross domestic product for the period; depreciation, the non-negative consumption of fixed capital; net_foreign_factor_income, the net primary income from abroad (any finite sign); and statistical_discrepancy, the residual that adjusts NNP toward national income (any finite sign). Fields may arrive as JSON numbers or numeric strings. Missing fields, empty strings, and non-finite values fail with invalid_input naming the field. On success the body echoes the four inputs (rounded for stable goldens), returns gnp, ndp, nnp, and national_income, and includes a formula string summarizing GNP equals GDP plus NFFI, NDP equals GDP minus depreciation, NNP equals GNP minus depreciation, and NI equals NNP minus statistical discrepancy. Failed validation is not billed; successful parse calls use the published $0.002 base price with no model tokens and no outbound network.

Where a national income from GDP calculator earns its keep

Pin the rounded national_income and intermediate aggregates in tests, keep GDP and depreciation non-negative, and you get reproducible national-accounts figures for homework, exam generators, and lightweight macro notebooks without standing up a full statistical agency pipeline.

LMS and tutoring auto-grading

Score national-income-from-GDP items with a deterministic oracle that rejects negative GDP or depreciation as invalid_input.

What does the national income from GDP calculator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →