{"product_id":"gdp-calculator","title":"GDP Calculator","description":"\u003cstyle\u003e\n.gdp-calculator,\n.gdp-calculator *,\n.gdp-calculator *::before,\n.gdp-calculator *::after{box-sizing:border-box}\n.gdp-calculator{--ink:#0f172a;--muted:#475569;--border:#e2e8f0;--surface:#ffffff;--tint:#f8fafc;--primary:#1d4ed8;--accent:#c2410c;--accent-hover:#9a3412;--chart-1:#1e40af;--chart-2:#0d9488;--chart-3:#7c3aed;--chart-4:#be185d;--chart-5:#334155;container-type:inline-size;container-name:gdp-shell;width:100%;max-width:1200px;margin:0 auto;padding:24px;color:var(--ink);background:var(--tint);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif;font-size:15px;line-height:1.55}\n.gdp-calculator button,.gdp-calculator input,.gdp-calculator select{font:inherit}\n.gdp-calculator button,.gdp-calculator input{min-width:0}\n.gdp-calculator a{color:var(--primary);text-decoration-thickness:1px;text-underline-offset:3px}\n.gdp-calculator a:hover{color:#1e40af}\n.gdp-calculator :focus-visible{outline:3px solid rgba(29,78,216,.38);outline-offset:2px}\n.gdp-calculator [hidden]{display:none!important}\n.gdp-header{min-width:0;margin-bottom:16px}\n.gdp-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}\n.gdp-title-block{min-width:0}\n.gdp-title{margin:0;color:var(--ink);font-size:24px;line-height:1.25;font-weight:700;letter-spacing:-.02em}\n.gdp-subtitle{max-width:760px;margin:8px 0 0;color:var(--muted);font-size:15px}\n.gdp-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;min-width:0}\n.gdp-pill{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:600;line-height:1.35;box-shadow:0 1px 2px rgba(15,23,42,.04)}\n.gdp-pill-value{color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}\n.gdp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;min-width:0}\n.gdp-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border:1px solid transparent;border-radius:6px;padding:11px 18px;font-size:15px;font-weight:700;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .05s ease;white-space:nowrap}\n.gdp-button:active{transform:translateY(1px)}\n.gdp-download{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 1px 2px rgba(15,23,42,.08)}\n.gdp-download:hover{background:var(--accent-hover);border-color:var(--accent-hover);box-shadow:0 3px 8px rgba(15,23,42,.14)}\n.gdp-reset{background:var(--surface);color:var(--ink);border-color:#cbd5e1}\n.gdp-reset:hover{border-color:#94a3b8;background:#f8fafc;box-shadow:0 2px 5px rgba(15,23,42,.08)}\n.gdp-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}\n.gdp-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;min-width:0}\n.gdp-panel,.gdp-chart-card,.gdp-table-card,.gdp-education{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 1px 2px rgba(15,23,42,.06)}\n.gdp-panel{padding:20px}\n.gdp-section-heading{margin:0;color:var(--ink);font-size:18px;line-height:1.35;font-weight:650;letter-spacing:-.01em}\n.gdp-section-intro{margin:6px 0 0;color:var(--muted);font-size:14px}\n.gdp-control-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px;min-width:0}\n.gdp-segment-fieldset,.gdp-input-fieldset{min-width:0;margin:0;padding:0;border:0}\n.gdp-legend-label{display:block;margin:0 0 8px;color:var(--ink);font-size:14px;font-weight:600}\n.gdp-segmented{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);max-width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:6px;background:var(--tint);padding:3px}\n.gdp-segmented-wide{width:100%}\n.gdp-segment-input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}\n.gdp-segment-label{display:flex;align-items:center;justify-content:center;min-width:0;min-height:38px;padding:7px 12px;border-radius:4px;color:var(--muted);font-size:13px;font-weight:700;text-align:center;cursor:pointer;white-space:nowrap}\n.gdp-segment-input:checked+.gdp-segment-label{background:var(--surface);color:var(--primary);box-shadow:0 1px 2px rgba(15,23,42,.1)}\n.gdp-segment-input:focus-visible+.gdp-segment-label{outline:3px solid rgba(29,78,216,.38);outline-offset:2px}\n.gdp-input-panel{margin-top:20px;padding-top:20px;border-top:1px solid var(--border);min-width:0}\n.gdp-formula-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 16px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:6px;background:#eff6ff;color:#1e3a8a;font-size:13px;font-weight:650}\n.gdp-formula-token{font-variant-numeric:tabular-nums}\n.gdp-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;align-items:start;min-width:0}\n.gdp-field{display:flex;flex-direction:column;min-width:0}\n.gdp-field-label{margin-bottom:6px;color:var(--ink);font-size:14px;font-weight:600}\n.gdp-input-shell{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-width:0;min-height:44px;border:1px solid #cbd5e1;border-radius:6px;background:var(--surface);transition:border-color .15s ease,box-shadow .15s ease}\n.gdp-input-shell:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(29,78,216,.12)}\n.gdp-input-shell.gdp-invalid{border-color:#b91c1c;box-shadow:0 0 0 2px rgba(185,28,28,.08)}\n.gdp-input-prefix,.gdp-input-unit{display:flex;align-items:center;align-self:stretch;color:var(--muted);background:var(--tint);font-size:13px;font-weight:700}\n.gdp-input-prefix{padding:0 10px;border-right:1px solid var(--border);border-radius:5px 0 0 5px}\n.gdp-input-unit{max-width:92px;padding:0 9px;border-left:1px solid var(--border);border-radius:0 5px 5px 0;overflow-wrap:anywhere;text-align:center}\n.gdp-input{width:100%;min-height:42px;border:0;padding:9px 10px;background:transparent;color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums;outline:0}\n.gdp-helper{min-height:38px;margin:6px 0 0;color:var(--muted);font-size:13px;font-weight:500;line-height:1.4}\n.gdp-error{min-height:19px;margin:3px 0 0;color:#991b1b;font-size:13px;font-weight:600;line-height:1.35}\n.gdp-results-panel{padding:20px}\n.gdp-primary-result{margin-top:16px;padding:18px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;min-width:0}\n.gdp-eyebrow{color:#1e3a8a;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}\n.gdp-primary-value{margin-top:4px;color:#172554;font-size:30px;line-height:1.15;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.025em;overflow-wrap:anywhere}\n.gdp-primary-caption{margin-top:6px;color:#1e3a8a;font-size:13px;font-weight:500}\n.gdp-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin-top:12px;min-width:0}\n.gdp-result-card{min-width:0;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}\n.gdp-result-label{color:var(--muted);font-size:13px;font-weight:650}\n.gdp-result-value{margin-top:3px;color:var(--ink);font-size:20px;line-height:1.25;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}\n.gdp-result-note{margin-top:5px;color:var(--muted);font-size:13px;font-weight:500;line-height:1.35}\n.gdp-trace{margin-top:16px;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--tint);min-width:0}\n.gdp-trace-title{margin:0 0 8px;color:var(--ink);font-size:14px;font-weight:700}\n.gdp-trace-line{margin:0;color:var(--muted);font-size:13px;font-weight:600;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}\n.gdp-validation-summary{margin-top:12px;padding:10px 12px;border:1px solid #fecaca;border-radius:6px;background:#fef2f2;color:#991b1b;font-size:13px;font-weight:600}\n.gdp-chart-card,.gdp-table-card{margin-top:16px;padding:20px}\n.gdp-chart-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}\n.gdp-chart-total{display:inline-flex;align-items:baseline;gap:6px;min-width:0;padding:6px 9px;border:1px solid var(--border);border-radius:6px;background:var(--tint);color:var(--muted);font-size:13px;font-weight:650}\n.gdp-chart-total strong{color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}\n.gdp-chart-cluster{display:grid;grid-template-columns:minmax(0,540px) minmax(250px,340px);justify-content:center;align-items:start;gap:24px;max-width:930px;margin:20px auto 0;min-width:0}\n.gdp-plot-box,.gdp-chart-side{min-width:0}\n.gdp-plot-box{display:flex;align-items:center;justify-content:center;width:100%}\n.gdp-svg{display:block;width:100%;height:auto;max-width:540px;overflow:visible}\n.gdp-empty-state{width:100%;padding:20px;border:1px dashed #cbd5e1;border-radius:6px;background:var(--tint);color:var(--muted);font-size:14px;font-weight:600;text-align:center}\n.gdp-chart-side{display:flex;flex-direction:column;gap:16px}\n.gdp-legend{display:flex;flex-direction:column;gap:8px;min-width:0}\n.gdp-legend-row{display:grid;grid-template-columns:12px minmax(0,150px) max-content max-content;justify-content:start;align-items:center;gap:6px 10px;min-width:0;color:var(--ink);font-size:13px;font-weight:600}\n.gdp-swatch{width:12px;height:12px;border-radius:2px}\n.gdp-legend-name{min-width:0;overflow-wrap:anywhere}\n.gdp-legend-amount,.gdp-legend-share{font-variant-numeric:tabular-nums;white-space:nowrap}\n.gdp-legend-share{color:var(--muted)}\n.gdp-chart-caption{max-width:930px;margin:16px auto 0;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--tint);color:var(--muted);font-size:13px;font-weight:500;line-height:1.5}\n.gdp-chart-card.gdp-safe-stack .gdp-chart-cluster{grid-template-columns:minmax(0,1fr);max-width:620px;row-gap:20px}\n.gdp-chart-card.gdp-safe-stack .gdp-chart-side{margin-top:0}\n.gdp-chart-card.gdp-chart-empty .gdp-chart-cluster{display:block;max-width:620px;margin-top:16px}\n.gdp-chart-card.gdp-chart-empty .gdp-chart-side,.gdp-chart-card.gdp-chart-empty .gdp-chart-caption,.gdp-chart-card.gdp-chart-empty .gdp-chart-total{display:none}\n.gdp-table-spacing{margin-top:16px}\n.gdp-table-overflow{width:100%;min-width:0;overflow-x:auto;border:1px solid var(--border);border-radius:6px;background:var(--surface)}\n.gdp-table{width:100%;min-width:620px;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}\n.gdp-chart-data-table{min-width:330px}\n.gdp-table th,.gdp-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}\n.gdp-table th{background:#0f172a;color:#fff;font-weight:700;white-space:nowrap}\n.gdp-table td{color:var(--ink)}\n.gdp-table tr:last-child td{border-bottom:0}\n.gdp-table .gdp-numeric{text-align:right;white-space:nowrap}\n.gdp-table .gdp-muted-cell{color:var(--muted)}\n.gdp-table-note{margin-top:16px;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--tint);color:var(--muted);font-size:13px;font-weight:500;line-height:1.5}\n.gdp-table-card.gdp-safe-table-stack .gdp-table-note{margin-top:20px}\n.gdp-table-card.gdp-safe-table-stack{height:auto;min-height:0}\n.gdp-education{margin-top:16px;padding:24px}\n.gdp-education h2{margin:0 0 10px;color:var(--ink);font-size:20px;line-height:1.35;font-weight:700}\n.gdp-education h3{margin:24px 0 8px;color:var(--ink);font-size:18px;line-height:1.4;font-weight:650}\n.gdp-education p{margin:0 0 12px;color:#334155;font-size:15px;line-height:1.68}\n.gdp-education ul{margin:8px 0 14px;padding-left:22px;color:#334155}\n.gdp-education li{margin:7px 0}\n.gdp-education strong{color:var(--ink)}\n.gdp-education-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:14px 0 18px;min-width:0}\n.gdp-education-block{min-width:0;padding:14px;border-left:3px solid #bfdbfe;background:var(--tint)}\n.gdp-education-block h3{margin:0 0 6px;font-size:16px}\n.gdp-education-block p{margin:0;font-size:14px}\n.gdp-live{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n@container gdp-shell (min-width:900px){.gdp-workspace{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}.gdp-control-groups{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}\n@container gdp-shell (max-width:899px){.gdp-chart-cluster{grid-template-columns:minmax(0,1fr);max-width:620px;row-gap:20px}.gdp-chart-side{margin-top:0}}\n@container gdp-shell (max-width:639px){.gdp-calculator{padding:16px}.gdp-panel,.gdp-results-panel,.gdp-chart-card,.gdp-table-card,.gdp-education{padding:16px}.gdp-title-row{display:block}.gdp-toolbar{align-items:stretch}.gdp-button{flex:1 1 auto}.gdp-segmented{width:100%}.gdp-segment-label{padding:7px 8px}.gdp-field-grid{grid-template-columns:minmax(0,1fr)}.gdp-result-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.gdp-chart-cluster{margin-top:16px;gap:16px}.gdp-chart-caption{margin-top:16px}.gdp-legend-row{grid-template-columns:12px minmax(0,1fr) max-content;gap:5px 8px}.gdp-legend-share{grid-column:2\/4;padding-left:0}.gdp-chart-total{width:100%;justify-content:flex-start}.gdp-education-grid{grid-template-columns:minmax(0,1fr)}}\n@container gdp-shell (max-width:389px){.gdp-calculator{padding:12px}.gdp-panel,.gdp-results-panel,.gdp-chart-card,.gdp-table-card,.gdp-education{padding:14px}.gdp-primary-value{font-size:27px}.gdp-result-grid{grid-template-columns:minmax(0,1fr)}.gdp-button{width:100%}.gdp-pill{max-width:100%}.gdp-segment-label{font-size:13px;white-space:normal}.gdp-input-unit{max-width:78px;padding:0 7px}.gdp-table-note,.gdp-chart-caption{margin-top:16px}}\n\u003c\/style\u003e\n\u003cdiv class=\"gdp-calculator\" data-calculator-root\u003e\n  \u003cheader class=\"gdp-header\"\u003e\n    \u003cdiv class=\"gdp-title-row\"\u003e\n      \u003cdiv class=\"gdp-title-block\"\u003e\n        \u003ch2 class=\"gdp-title\"\u003eGDP Calculator: Expenditure \u0026amp; Income Approaches\u003c\/h2\u003e\n        \u003cp class=\"gdp-subtitle\"\u003eEstimate gross domestic product from spending components or from factor income, compare both methods, and export the current model to a structured Excel workbook.\u003c\/p\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"gdp-pills\" aria-label=\"Live calculation summary\"\u003e\n      \u003cspan class=\"gdp-pill\"\u003eSelected GDP \u003cspan class=\"gdp-pill-value\" data-gdp-pill-gdp\u003e$0.00\u003c\/span\u003e\u003c\/span\u003e\n      \u003cspan class=\"gdp-pill\"\u003eMethod \u003cspan class=\"gdp-pill-value\" data-gdp-pill-method\u003eExpenditure\u003c\/span\u003e\u003c\/span\u003e\n      \u003cspan class=\"gdp-pill\"\u003eApproach gap \u003cspan class=\"gdp-pill-value\" data-gdp-pill-gap\u003e$0.00\u003c\/span\u003e\u003c\/span\u003e\n      \u003cspan class=\"gdp-pill\"\u003eScale \u003cspan class=\"gdp-pill-value\" data-gdp-pill-unit\u003eBillions\u003c\/span\u003e\u003c\/span\u003e\n    \u003c\/div\u003e\n  \u003c\/header\u003e\n\n  \u003cdiv class=\"gdp-toolbar\" aria-label=\"Calculator actions\"\u003e\n    \u003cbutton class=\"gdp-button gdp-download\" type=\"button\" data-gdp-download\u003e\n      \u003csvg class=\"gdp-icon\" viewbox=\"0 0 24 24\" aria-hidden=\"true\"\u003e\u003cpath d=\"M7 3.5h7l3 3V20.5H7z\"\u003e\u003c\/path\u003e\u003cpath d=\"M14 3.5v4h4\"\u003e\u003c\/path\u003e\u003cpath d=\"M12 9.5v6\"\u003e\u003c\/path\u003e\u003cpath d=\"m9.5 13 2.5 2.5 2.5-2.5\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\n      \u003cspan\u003eDownload Excel\u003c\/span\u003e\n    \u003c\/button\u003e\n    \u003cbutton class=\"gdp-button gdp-reset\" type=\"button\" data-gdp-reset\u003eReset\u003c\/button\u003e\n  \u003c\/div\u003e\n\n  \u003cdiv class=\"gdp-workspace\"\u003e\n    \u003csection class=\"gdp-panel\" aria-labelledby=\"gdp-inputs-heading\"\u003e\n      \u003ch3 class=\"gdp-section-heading\" id=\"gdp-inputs-heading\"\u003eEconomic inputs\u003c\/h3\u003e\n      \u003cp class=\"gdp-section-intro\"\u003eChoose a calculation method and enter all values on the same periodic and currency basis.\u003c\/p\u003e\n\n      \u003cdiv class=\"gdp-control-groups\"\u003e\n        \u003cfieldset class=\"gdp-segment-fieldset\"\u003e\n          \u003clegend class=\"gdp-legend-label\"\u003eActive method\u003c\/legend\u003e\n          \u003cdiv class=\"gdp-segmented gdp-segmented-wide\"\u003e\n            \u003cinput class=\"gdp-segment-input\" type=\"radio\" id=\"gdp-method-expenditure\" name=\"gdp-method\" value=\"expenditure\" checked data-gdp-method\u003e\n            \u003clabel class=\"gdp-segment-label\" for=\"gdp-method-expenditure\"\u003eExpenditure\u003c\/label\u003e\n            \u003cinput class=\"gdp-segment-input\" type=\"radio\" id=\"gdp-method-income\" name=\"gdp-method\" value=\"income\" data-gdp-method\u003e\n            \u003clabel class=\"gdp-segment-label\" for=\"gdp-method-income\"\u003eIncome\u003c\/label\u003e\n          \u003c\/div\u003e\n        \u003c\/fieldset\u003e\n\n        \u003cfieldset class=\"gdp-segment-fieldset\"\u003e\n          \u003clegend class=\"gdp-legend-label\"\u003eInput and display unit\u003c\/legend\u003e\n          \u003cdiv class=\"gdp-segmented gdp-segmented-wide\"\u003e\n            \u003cinput class=\"gdp-segment-input\" type=\"radio\" id=\"gdp-unit-million\" name=\"gdp-unit\" value=\"million\" data-gdp-unit\u003e\n            \u003clabel class=\"gdp-segment-label\" for=\"gdp-unit-million\"\u003eMillions\u003c\/label\u003e\n            \u003cinput class=\"gdp-segment-input\" type=\"radio\" id=\"gdp-unit-billion\" name=\"gdp-unit\" value=\"billion\" checked data-gdp-unit\u003e\n            \u003clabel class=\"gdp-segment-label\" for=\"gdp-unit-billion\"\u003eBillions\u003c\/label\u003e\n            \u003cinput class=\"gdp-segment-input\" type=\"radio\" id=\"gdp-unit-trillion\" name=\"gdp-unit\" value=\"trillion\" data-gdp-unit\u003e\n            \u003clabel class=\"gdp-segment-label\" for=\"gdp-unit-trillion\"\u003eTrillions\u003c\/label\u003e\n          \u003c\/div\u003e\n        \u003c\/fieldset\u003e\n      \u003c\/div\u003e\n\n      \u003cdiv class=\"gdp-input-panel\" data-gdp-panel=\"expenditure\"\u003e\n        \u003ch4 class=\"gdp-section-heading\"\u003eExpenditure approach\u003c\/h4\u003e\n        \u003cdiv class=\"gdp-formula-strip\" aria-label=\"Expenditure formula\"\u003e\n          \u003cspan class=\"gdp-formula-token\"\u003eGDP = C + I + G + X − M\u003c\/span\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"gdp-field-grid\"\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-consumption\"\u003ePersonal consumption (C)\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-consumption\" type=\"text\" inputmode=\"decimal\" value=\"14,000.00\" aria-describedby=\"gdp-consumption-help gdp-consumption-error\" data-gdp-field=\"consumption\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-consumption-help\"\u003eHousehold spending on final goods and services.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-consumption-error\" data-gdp-error=\"consumption\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-investment\"\u003eGross investment (I)\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-investment\" type=\"text\" inputmode=\"decimal\" value=\"3,800.00\" aria-describedby=\"gdp-investment-help gdp-investment-error\" data-gdp-field=\"investment\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-investment-help\"\u003eBusiness fixed investment, housing, and inventory change.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-investment-error\" data-gdp-error=\"investment\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-government\"\u003eGovernment consumption (G)\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-government\" type=\"text\" inputmode=\"decimal\" value=\"4,100.00\" aria-describedby=\"gdp-government-help gdp-government-error\" data-gdp-field=\"government\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-government-help\"\u003ePublic purchases of final goods, services, and investment.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-government-error\" data-gdp-error=\"government\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-exports\"\u003eExports (X)\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-exports\" type=\"text\" inputmode=\"decimal\" value=\"2,500.00\" aria-describedby=\"gdp-exports-help gdp-exports-error\" data-gdp-field=\"exports\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-exports-help\"\u003eDomestically produced goods and services sold abroad.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-exports-error\" data-gdp-error=\"exports\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-imports\"\u003eImports (M)\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-imports\" type=\"text\" inputmode=\"decimal\" value=\"3,200.00\" aria-describedby=\"gdp-imports-help gdp-imports-error\" data-gdp-field=\"imports\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-imports-help\"\u003eForeign production purchased domestically; subtracted from GDP.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-imports-error\" data-gdp-error=\"imports\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n\n      \u003cdiv class=\"gdp-input-panel\" data-gdp-panel=\"income\" hidden\u003e\n        \u003ch4 class=\"gdp-section-heading\"\u003eResource cost-income approach\u003c\/h4\u003e\n        \u003cdiv class=\"gdp-formula-strip\" aria-label=\"Income formula\"\u003e\n          \u003cspan class=\"gdp-formula-token\"\u003eGNP = compensation + proprietors + rent + profits + interest\u003c\/span\u003e\n          \u003cspan aria-hidden=\"true\"\u003e•\u003c\/span\u003e\n          \u003cspan class=\"gdp-formula-token\"\u003eGDP = GNP + taxes + depreciation + foreign-income adjustment\u003c\/span\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"gdp-field-grid\"\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-compensation\"\u003eEmployee compensation\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-compensation\" type=\"text\" inputmode=\"decimal\" value=\"12,500.00\" aria-describedby=\"gdp-compensation-help gdp-compensation-error\" data-gdp-field=\"compensation\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-compensation-help\"\u003eWages, salaries, benefits, and employer contributions.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-compensation-error\" data-gdp-error=\"compensation\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-proprietors\"\u003eProprietors’ income\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-proprietors\" type=\"text\" inputmode=\"decimal\" value=\"1,600.00\" aria-describedby=\"gdp-proprietors-help gdp-proprietors-error\" data-gdp-field=\"proprietors\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-proprietors-help\"\u003eIncome of sole proprietorships and partnerships.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-proprietors-error\" data-gdp-error=\"proprietors\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-rental\"\u003eRental income\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-rental\" type=\"text\" inputmode=\"decimal\" value=\"800.00\" aria-describedby=\"gdp-rental-help gdp-rental-error\" data-gdp-field=\"rental\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-rental-help\"\u003eNet income earned by property owners.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-rental-error\" data-gdp-error=\"rental\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-profits\"\u003eCorporate profits\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-profits\" type=\"text\" inputmode=\"decimal\" value=\"2,500.00\" aria-describedby=\"gdp-profits-help gdp-profits-error\" data-gdp-field=\"profits\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-profits-help\"\u003eCorporate earnings whether distributed or retained.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-profits-error\" data-gdp-error=\"profits\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-interest\"\u003eInterest income\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-interest\" type=\"text\" inputmode=\"decimal\" value=\"700.00\" aria-describedby=\"gdp-interest-help gdp-interest-error\" data-gdp-field=\"interest\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-interest-help\"\u003eProperty income received from financial assets.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-interest-error\" data-gdp-error=\"interest\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-taxes\"\u003eIndirect business taxes\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-taxes\" type=\"text\" inputmode=\"decimal\" value=\"1,900.00\" aria-describedby=\"gdp-taxes-help gdp-taxes-error\" data-gdp-field=\"taxes\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-taxes-help\"\u003eProduction and sales taxes, net of relevant subsidies.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-taxes-error\" data-gdp-error=\"taxes\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-depreciation\"\u003eDepreciation\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-depreciation\" type=\"text\" inputmode=\"decimal\" value=\"1,500.00\" aria-describedby=\"gdp-depreciation-help gdp-depreciation-error\" data-gdp-field=\"depreciation\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-depreciation-help\"\u003eCapital consumption allowance for worn or obsolete assets.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-depreciation-error\" data-gdp-error=\"depreciation\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"gdp-field\"\u003e\n            \u003clabel class=\"gdp-field-label\" for=\"gdp-foreign\"\u003eNet income of foreigners\u003c\/label\u003e\n            \u003cdiv class=\"gdp-input-shell\"\u003e\n\u003cspan class=\"gdp-input-prefix\"\u003e$\u003c\/span\u003e\u003cinput class=\"gdp-input\" id=\"gdp-foreign\" type=\"text\" inputmode=\"decimal\" value=\"-300.00\" aria-describedby=\"gdp-foreign-help gdp-foreign-error\" data-gdp-field=\"foreign\"\u003e\u003cspan class=\"gdp-input-unit\" data-gdp-unit-label\u003ebillion\u003c\/span\u003e\n\u003c\/div\u003e\n            \u003cp class=\"gdp-helper\" id=\"gdp-foreign-help\"\u003eForeign income earned domestically minus domestic income earned abroad.\u003c\/p\u003e\n            \u003cp class=\"gdp-error\" id=\"gdp-foreign-error\" data-gdp-error=\"foreign\"\u003e\u003c\/p\u003e\n          \u003c\/div\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n    \u003c\/section\u003e\n\n    \u003csection class=\"gdp-panel gdp-results-panel\" aria-labelledby=\"gdp-results-heading\"\u003e\n      \u003ch3 class=\"gdp-section-heading\" id=\"gdp-results-heading\"\u003eLive results\u003c\/h3\u003e\n      \u003cp class=\"gdp-section-intro\"\u003eBoth identities are calculated continuously; the active method controls the headline and chart.\u003c\/p\u003e\n      \u003cdiv class=\"gdp-primary-result\"\u003e\n        \u003cdiv class=\"gdp-eyebrow\" data-gdp-primary-label\u003eGDP — expenditure approach\u003c\/div\u003e\n        \u003cdiv class=\"gdp-primary-value\" data-gdp-primary-value\u003e$0.00\u003c\/div\u003e\n        \u003cdiv class=\"gdp-primary-caption\" data-gdp-primary-caption\u003eGross domestic product for the entered period.\u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"gdp-result-grid\"\u003e\n        \u003cdiv class=\"gdp-result-card\"\u003e\n          \u003cdiv class=\"gdp-result-label\"\u003eExpenditure GDP\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-value\" data-gdp-exp-gdp\u003e$0.00\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-note\" data-gdp-exp-note\u003eDomestic demand plus net exports.\u003c\/div\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"gdp-result-card\"\u003e\n          \u003cdiv class=\"gdp-result-label\"\u003eIncome GDP\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-value\" data-gdp-inc-gdp\u003e$0.00\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-note\" data-gdp-inc-note\u003eGNP plus market-price adjustments.\u003c\/div\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"gdp-result-card\"\u003e\n          \u003cdiv class=\"gdp-result-label\"\u003eApproach difference\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-value\" data-gdp-gap\u003e$0.00\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-note\" data-gdp-gap-note\u003eDifference between the two entered identities.\u003c\/div\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"gdp-result-card\"\u003e\n          \u003cdiv class=\"gdp-result-label\" data-gdp-secondary-label\u003eNet exports\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-value\" data-gdp-secondary-value\u003e$0.00\u003c\/div\u003e\n          \u003cdiv class=\"gdp-result-note\" data-gdp-secondary-note\u003eExports less imports.\u003c\/div\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"gdp-trace\"\u003e\n        \u003ch4 class=\"gdp-trace-title\"\u003eFormula trace\u003c\/h4\u003e\n        \u003cp class=\"gdp-trace-line\" data-gdp-trace\u003eGDP = 0\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"gdp-validation-summary\" data-gdp-validation-summary hidden\u003e\u003c\/div\u003e\n      \u003cdiv class=\"gdp-live\" aria-live=\"polite\" data-gdp-live\u003e\u003c\/div\u003e\n    \u003c\/section\u003e\n  \u003c\/div\u003e\n\n  \u003csection class=\"gdp-chart-card\" aria-labelledby=\"gdp-chart-heading\" data-gdp-chart-card\u003e\n    \u003cdiv class=\"gdp-chart-header\"\u003e\n      \u003cdiv\u003e\n        \u003ch3 class=\"gdp-section-heading\" id=\"gdp-chart-heading\"\u003eCurrent-method component profile\u003c\/h3\u003e\n        \u003cp class=\"gdp-section-intro\" data-gdp-chart-intro\u003eContribution of each expenditure component to the selected GDP identity.\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"gdp-chart-total\"\u003eSelected GDP \u003cstrong data-gdp-chart-total\u003e$0.00\u003c\/strong\u003e\n\u003c\/div\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"gdp-chart-cluster\" data-gdp-chart-cluster\u003e\n      \u003cdiv class=\"gdp-plot-box\" data-gdp-plot-box\u003e\n        \u003csvg class=\"gdp-svg\" role=\"img\" aria-labelledby=\"gdp-svg-title gdp-svg-desc\" data-gdp-svg\u003e\u003c\/svg\u003e\n        \u003cdiv class=\"gdp-empty-state\" data-gdp-chart-empty hidden\u003eEnter values above to see the component profile.\u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"gdp-chart-side\" data-gdp-chart-side\u003e\n        \u003cdiv class=\"gdp-legend\" aria-label=\"Chart legend\" data-gdp-legend\u003e\u003c\/div\u003e\n        \u003cdiv class=\"gdp-table-overflow\" data-gdp-table-wrap\u003e\n          \u003ctable class=\"gdp-table gdp-chart-data-table\"\u003e\n            \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eComponent\u003c\/th\u003e\n\u003cth class=\"gdp-numeric\"\u003eAmount\u003c\/th\u003e\n\u003cth class=\"gdp-numeric\"\u003eGDP share\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n            \u003ctbody data-gdp-chart-table\u003e\u003c\/tbody\u003e\n          \u003c\/table\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"gdp-chart-caption\" data-gdp-chart-caption\u003eComponent values use the same live model as the headline result and Excel export.\u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003csection class=\"gdp-table-card\" aria-labelledby=\"gdp-table-heading\" data-gdp-table-card\u003e\n    \u003ch3 class=\"gdp-section-heading\" id=\"gdp-table-heading\"\u003eApproach comparison\u003c\/h3\u003e\n    \u003cp class=\"gdp-section-intro\"\u003eCross-check the spending identity against the income identity using the entered values.\u003c\/p\u003e\n    \u003cdiv class=\"gdp-table-overflow gdp-table-spacing\" data-gdp-table-wrap\u003e\n      \u003ctable class=\"gdp-table\"\u003e\n        \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eApproach\u003c\/th\u003e\n\u003cth class=\"gdp-numeric\"\u003eCore subtotal\u003c\/th\u003e\n\u003cth class=\"gdp-numeric\"\u003eAdjustments\u003c\/th\u003e\n\u003cth class=\"gdp-numeric\"\u003eGDP\u003c\/th\u003e\n\u003cth class=\"gdp-numeric\"\u003eDifference vs. selected\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n        \u003ctbody data-gdp-comparison-table\u003e\u003c\/tbody\u003e\n      \u003c\/table\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"gdp-table-note\" data-gdp-table-note data-gdp-comparison-note\u003eThe two approaches should describe the same economy, but real statistical releases can show a discrepancy because source data, timing, and revisions differ.\u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003csection class=\"gdp-education\" aria-labelledby=\"gdp-guide-heading\"\u003e\n    \u003ch2 id=\"gdp-guide-heading\"\u003eHow to use and interpret the GDP calculator\u003c\/h2\u003e\n    \u003cp\u003eGross domestic product measures the monetary value of final goods and services produced within an economy during a defined period. This calculator implements two accounting identities. The \u003cstrong\u003eexpenditure approach\u003c\/strong\u003e adds final spending, while the \u003cstrong\u003eresource cost-income approach\u003c\/strong\u003e adds income generated by production and then applies the adjustments needed to reach GDP at marke\nt prices. The same period, currency, and scale must be used for every field.\u003c\/p\u003e\n\n    \u003ch3\u003eChoose a method and unit\u003c\/h3\u003e\n    \u003cp\u003e\u003cstrong\u003eActive method\u003c\/strong\u003e controls the headline result, component chart, formula trace, and primary interpretation. Switching methods does not erase the other approach, so the two estimates remain available for comparison. \u003cstrong\u003eInput and display unit\u003c\/strong\u003e converts every current amount between millions, billions, and trillions. The conversion preserves the underlying economic value; it does not merely relabel the fields. Use the scale found in your source dataset and avoid mixing annual figures with quarterly figures.\u003c\/p\u003e\n\n    \u003cdiv class=\"gdp-education-grid\"\u003e\n      \u003cdiv class=\"gdp-education-block\"\u003e\n\u003ch3\u003eExpenditure identity\u003c\/h3\u003e\n\u003cp\u003eGDP = personal consumption + gross investment + government consumption + exports − imports.\u003c\/p\u003e\n\u003c\/div\u003e\n      \u003cdiv class=\"gdp-education-block\"\u003e\n\u003ch3\u003eIncome identity\u003c\/h3\u003e\n\u003cp\u003eGNP = factor incomes. GDP = GNP + indirect taxes + depreciation + the foreign-income adjustment used here.\u003c\/p\u003e\n\u003c\/div\u003e\n    \u003c\/div\u003e\n\n    \u003ch3\u003eExpenditure fields\u003c\/h3\u003e\n    \u003cp\u003e\u003cstrong\u003ePersonal consumption\u003c\/strong\u003e is household spending on final goods and services. It is required for a complete spending estimate and is often the largest positive component. A higher value raises GDP one-for-one. Do not include intermediate business purchases or purchases of existing assets. \u003cstrong\u003eGross investment\u003c\/strong\u003e includes new equipment, structures, residential construction, and inventory changes. It is not the same as buying stocks or bonds. Higher investment raises GDP; a negative inventory change may occur in official accounts, although this interface treats the field as nonnegative for a straightforward gross-investment entry.\u003c\/p\u003e\n    \u003cp\u003e\u003cstrong\u003eGovernment consumption\u003c\/strong\u003e covers public purchases of goods, services, and investment. Transfer payments such as pensions or unemployment benefits are not counted merely because money changes hands; the related household spending appears in consumption when it occurs. \u003cstrong\u003eExports\u003c\/strong\u003e are domestic production sold abroad and add to GDP. \u003cstrong\u003eImports\u003c\/strong\u003e are subtracted because they can already be embedded in consumption, investment, or government purchases but were produced outside the domestic economy. The result \u003cstrong\u003enet exports\u003c\/strong\u003e can be positive, zero, or negative. A trade deficit therefore reduces the expenditure identity relative to domestic demand.\u003c\/p\u003e\n\n    \u003ch3\u003eIncome fields\u003c\/h3\u003e\n    \u003cp\u003e\u003cstrong\u003eEmployee compensation\u003c\/strong\u003e includes wages, salaries, employer benefits, and relevant employer social contributions. \u003cstrong\u003eProprietors’ income\u003c\/strong\u003e captures income of unincorporated businesses. \u003cstrong\u003eRental income\u003c\/strong\u003e is net property income attributed to owners. \u003cstrong\u003eCorporate profits\u003c\/strong\u003e include earnings whether distributed to shareholders or retained. \u003cstrong\u003eInterest income\u003c\/strong\u003e represents property income received for supplying financial capital. Each of these factor-income fields is normally entered as a positive amount; increasing any one raises GNP and GDP one-for-one.\u003c\/p\u003e\n    \u003cp\u003e\u003cstrong\u003eIndirect business taxes\u003c\/strong\u003e move the estimate toward market prices and should be entered consistently with subsidies in the source accounts. \u003cstrong\u003eDepreciation\u003c\/strong\u003e, also called capital consumption, converts a net measure into a gross measure by recognizing the value of capital used up during production. \u003cstrong\u003eNet income of foreigners\u003c\/strong\u003e is the only field in this calculator that intentionally accepts a negative amount. The sign convention is foreign income earned domestically minus domestic income earned abroad. A positive amount increases the income-side GDP under this identity; a negative amount reduces it. Confirm the sign used by your dataset before entering the figure.\u003c\/p\u003e\n\n    \u003ch3\u003eReading the results, chart, and table\u003c\/h3\u003e\n    \u003cp\u003e\u003cstrong\u003eSelected GDP\u003c\/strong\u003e is the active method’s output. \u003cstrong\u003eExpenditure GDP\u003c\/strong\u003e equals domestic demand plus net exports. \u003cstrong\u003eIncome GDP\u003c\/strong\u003e equals the GNP subtotal plus indirect taxes, depreciation, and the foreign-income adjustment. \u003cstrong\u003eApproach difference\u003c\/strong\u003e is expenditure GDP minus income GDP. Zero means the entries reconcile exactly. A nonzero amount does not automatically imply an economic problem; it usually signals inconsistent periods, units, definitions, or statistical discrepancy between source systems.\u003c\/p\u003e\n    \u003cp\u003eThe component chart displays signed contributions. Bars above zero add to the identity; bars below zero subtract from it. When the income method has more than five active categories, the smallest categories are grouped into \u003cstrong\u003eOther\u003c\/strong\u003e so the visual remains readable. The adjacent legend and data table show the exact amounts and each category’s share of selected GDP. A share can be negative when a component subtracts from GDP, and percentages need not resemble a conventional pie chart because this is a signed accounting bridge.\u003c\/p\u003e\n    \u003cp\u003eThe approach-comparison table separates each method into a core subtotal and adjustments. For expenditure, the core subtotal is consumption plus investment plus government spending, while the adjustment is net exports. For income, the core subtotal is GNP and the adjustment is indirect taxes plus depreciation plus net income of foreigners. The final column compares each row with the currently selected method, making reconciliation errors easy to locate.\u003c\/p\u003e\n\n    \u003ch3\u003ePractical checks and limitations\u003c\/h3\u003e\n    \u003cul\u003e\n      \u003cli\u003eUse nominal values from one period and one currency unless you are deliberately building a real-GDP series.\u003c\/li\u003e\n      \u003cli\u003eDo not count intermediate goods twice, include transfers as government production, or treat financial-asset purchases as fixed investment.\u003c\/li\u003e\n      \u003cli\u003eCheck whether taxes are reported net of subsidies and verify the foreign-income sign convention.\u003c\/li\u003e\n      \u003cli\u003eGDP measures aggregate production, not distribution, unpaid work, environmental costs, or household well-being.\u003c\/li\u003e\n    \u003c\/ul\u003e\n    \u003cp\u003eFor authoritative national-account concepts and published data, consult the \u003ca class=\"gdp-link\" href=\"https:\/\/www.bea.gov\/data\/gdp\/gross-domestic-product\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eU.S. Bureau of Economic Analysis GDP resources\u003c\/a\u003e, the \u003ca class=\"gdp-link\" href=\"https:\/\/www.oecd.org\/en\/data\/indicators\/gross-domestic-product-gdp.html\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eOECD GDP indicator\u003c\/a\u003e, the \u003ca class=\"gdp-link\" href=\"https:\/\/data.worldbank.org\/indicator\/NY.GDP.MKTP.CD\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eWorld Bank GDP dataset\u003c\/a\u003e, and the \u003ca class=\"gdp-link\" href=\"https:\/\/unstats.un.org\/unsd\/nationalaccount\/sna.asp\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eUnited Nations System of National Accounts\u003c\/a\u003e. This calculator is an educational accounting tool, not economic, tax, or investment advice.\u003c\/p\u003e\n  \u003c\/section\u003e\n\u003c\/div\u003e","brand":"FinancialModelsLab","offers":[{"title":"Default Title","offer_id":49909481668851,"sku":"gdp-calculator","price":0.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0522\/6191\/2762\/files\/gdp-calculator.webp?v=1783935392","url":"https:\/\/financialmodelslab.com\/products\/gdp-calculator","provider":"Financial Models Lab","version":"1.0","type":"link"}