invest.pension-annual-allowance
UK pension annual allowance for a tax year with taper, MPAA and three-year carry-forward, and the excess charged.
1.0.0 (not the latest) · published 2026-10-03 by charlie · Anterra
Pinned by 22 tests, run in TypeScript, Python and Rust.
Not professional advice. This capability calculates investment figures from published rules. It is a software component for developers, not financial advice. Rules change and every rate here has an effective date. Check that the dates cover your case. Verify results against the official sources listed in its README, and have a pensions tax specialist review how you use it, before anyone relies on the output. Provided “as is” under its licence, without warranty.
What it does
**Status: needs review by a tax professional before it is published.**
The UK pension annual allowance for a tax year, after the taper and the money purchase annual allowance (MPAA), the unused allowance carried forward from the three previous tax years, and the amount subject to the annual allowance charge. The charge itself is income tax at the member's marginal rate on that excess, which is left to an income tax calculation.
For example
pensionAnnualAllowance(2025-10-01, money purchase input £30,000.00, other input £0.00, threshold income £100,000.00, adjusted income £100,000.00, mpaa applies false, member true, previous years ×3)→ tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £30,000.00, basis standard, … 2025/26 inside the £60,000: nothing carried forward is touchedpensionAnnualAllowance(2025-10-01, money purchase input £20,000.00, other input £100,000.00, threshold income £100,000.00, adjusted income £180,000.00, mpaa applies false, member true, previous years ×3)→ tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £120,000.00, basis standard,… £120,000 uses £60,000 of carry-forward, the earliest year firstpensionAnnualAllowance(2025-10-01, money purchase input £200,000.00, other input £0.00, threshold income £150,000.00, adjusted income £250,000.00, mpaa applies false, member true, previous years ×3)→ tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £200,000.00, basis standard,… £200,000 exhausts all three years and leaves £10,000 excess
The function
The same function in TypeScript, Python and Rust, pinned by the same tests. Pick your language; the choice follows you around the registry.
export function pensionAnnualAllowance(taxYearDate: string, current: PensionInputYear, previousYears: readonly PensionInputYear[]): AnnualAllowanceResult
| taxYearDate | date | any date in the tax year being tested |
| current | PensionInputYear | that tax year's pension inputs and income |
| previousYears | PensionInputYear[] | the tax years before it, oldest first, ending with the year just before; at least three |
| returns | AnnualAllowanceResult |
The types it declares, generated into your project
/** One tax year's pension input amounts and the incomes the taper tests. */
export interface PensionInputYear {
/** money purchase input tested against the MPAA: from the trigger on, or all of it */
readonly moneyPurchaseInput: Money;
/** every other pension input amount: defined benefits, cash balance, money purchase before the trigger */
readonly otherInput: Money;
readonly thresholdIncome: Money;
readonly adjustedIncome: Money;
/** the money purchase annual allowance applied in the year */
readonly mpaaApplies: boolean;
/** a member of a registered pension scheme at some time in the year */
readonly member: boolean;
}
export type ChargeBasis = "standard" | "alternative";
/** Unused allowance from one earlier tax year. */
export interface CarryForwardYear {
readonly taxYear: string;
/** the allowance tested: tapered, or the alternative allowance in an MPAA year */
readonly allowance: Money;
/** the input tested against it */
readonly input: Money;
/** 0 in a year without scheme membership */
readonly unused: Money;
/** taken by excesses in later earlier years, earliest first */
readonly usedByLaterYears: Money;
/** taken by the year being tested */
readonly usedThisYear: Money;
}
/** The allowance, the carry-forward and the excess subject to the annual allowance charge. */
export interface AnnualAllowanceResult {
readonly taxYear: string;
readonly standardAllowance: Money;
/** after any taper */
readonly allowance: Money;
readonly tapered: boolean;
/** null unless the MPAA applies */
readonly moneyPurchaseAllowance: Money | null;
/** null unless money purchase inputs exceed the MPAA */
readonly alternativeAllowance: Money | null;
readonly totalInput: Money;
/** alternative when the MPAA computation gives the larger charge */
readonly basis: ChargeBasis;
/** the three tax years before, oldest first */
readonly carryForward: readonly CarryForwardYear[];
readonly carryForwardAvailable: Money;
readonly carryForwardUsed: Money;
/** the amount subject to the annual allowance charge */
readonly excess: Money;
}
Your code names it in one line, in the file that uses it
import { pensionAnnualAllowance } from "#fune/invest.pension-annual-allowance@^1";
Imports name this capability’s declared dependencies, which fune builds next to it in your project; each one links to its page.
import { ukTaxYear } from "./dates_uk_tax_year.ts"; ← from dates.uk-tax-year ^1.0.0 · built alongside by fune
import { type Money } from "./money_amount.ts"; ← from money.amount ^1.0.0 · built alongside by fune
import { ANNUAL_ALLOWANCE_RULES, ANNUAL_ALLOWANCE_RULES_HISTORY, ANNUAL_ALLOWANCE_RULES_HORIZON } from "./invest_pension_annual_allowance_data.ts"; ← this capability’s own data, compiled from data/annual-allowance.json into the same file by fune build
import { type AnnualAllowanceResult, type CarryForwardYear, type ChargeBasis, type PensionInputYear } from "./invest_pension_annual_allowance_types.ts";
/** How one tax year comes out against its own allowance, given the carry-forward it can reach. */
interface YearTest {
standard: number;
allowance: number;
tapered: boolean;
mpaa: number | null;
alternative: number | null;
total: number;
basis: ChargeBasis;
carryForwardUsed: number;
excess: number;
/** What this year leaves to carry forward, and what it was tested against. */
unused: number;
testedAllowance: number;
testedInput: number;
}
interface Ledger {
taxYear: string;
allowance: number;
input: number;
unused: number;
usedByLaterYears: number;
usedThisYear: number;
}
function gbp(minor: number): Money {
return { minor, currency: "GBP" };
}
function checkMoney(value: Money, name: string, label: string): number {
if (value.currency !== "GBP") throw new RangeError(`${name} must be in GBP, received ${value.currency} for ${label}`);
if (!Number.isInteger(value.minor) || value.minor < 0) {
throw new RangeError(`${name} must be a whole number of pence, not negative, received ${value.minor} for ${label}`);
}
return value.minor;
}
function ruleFor(startYear: number) {
const start = `${String(startYear).padStart(4, "0")}-04-06`;
const label = ukTaxYear(start).label;
const rule = ANNUAL_ALLOWANCE_RULES.find((r) => r.validFrom <= start && (r.validTo === null || start <= r.validTo));
if (rule === undefined) {
const horizon = ANNUAL_ALLOWANCE_RULES_HORIZON;
const why =
horizon !== null && start < horizon
? `: this build was installed with history=${ANNUAL_ALLOWANCE_RULES_HISTORY}, so it only carries rules from ${horizon}. Reinstall with history=full for earlier years.`
: "";
throw new RangeError(`no annual allowance rules for the ${label} tax year${why}`);
}
return { rule, label };
}
function test(startYear: number, year: PensionInputYear, carryForward: number): YearTest & { label: string } {
const { rule, label } = ruleFor(startYear);
const mp = checkMoney(year.moneyPurchaseInput, "moneyPurchaseInput", label);
const other = checkMoney(year.otherInput, "otherInput", label);
const threshold = checkMoney(year.thresholdIncome, "thresholdIncome", label);
const adjusted = checkMoney(year.adjustedIncome, "adjustedIncome", label);
const total = mp + other;
if (!year.member && total > 0) {
throw new RangeError(`pension inputs in ${label} need membership of a registered pension scheme in that year`);
}
// Taper: £1 off for every £2 of adjusted income over the limit, rounded down
// to a whole pound, when threshold income is also over its limit.
let allowance = rule.annualAllowance;
const tapered = threshold > rule.thresholdIncome && adjusted > rule.adjustedIncome;
if (tapered) {
const reduction = Math.floor((adjusted - rule.adjustedIncome) / 200) * 100;
allowance = Math.max(rule.minimumTaperedAllowance, allowance - reduction);
}
const base = { label, standard: rule.annualAllowance, allowance, tapered, total };
const defaultUsed = Math.min(carryForward, Math.max(0, total - allowance));
const defaultExcess = Math.max(0, total - allowance - defaultUsed);
if (year.mpaaApplies && mp > rule.moneyPurchaseAllowance) {
// Carry-forward can top up the alternative allowance, never the MPAA.
const alternative = Math.max(0, allowance - rule.moneyPurchaseAllowance);
const altUsed = Math.min(carryForward, Math.max(0, other - alternative));
const altExcess = mp - rule.moneyPurchaseAllowance + Math.max(0, other - alternative - altUsed);
const useAlternative = altExcess > defaultExcess;
return {
...base,
mpaa: rule.moneyPurchaseAllowance,
alternative,
basis: useAlternative ? "alternative" : "standard",
carryForwardUsed: useAlternative ? altUsed : defaultUsed,
excess: useAlternative ? altExcess : defaultExcess,
unused: year.member ? Math.max(0, alternative - other) : 0,
testedAllowance: alternative,
testedInput: other,
};
}
return {
...base,
mpaa: year.mpaaApplies ? rule.moneyPurchaseAllowance : null,
alternative: null,
basis: "standard",
carryForwardUsed: defaultUsed,
excess: defaultExcess,
unused: year.member ? Math.max(0, allowance - total) : 0,
testedAllowance: allowance,
testedInput: total,
};
}
function available(entry: Ledger): number {
return entry.unused - entry.usedByLaterYears - entry.usedThisYear;
}
/** Take `amount` from the entries' unused allowance, earliest year first. */
function consume(entries: Ledger[], amount: number, field: "usedByLaterYears" | "usedThisYear"): void {
let left = amount;
for (const entry of entries) {
const take = Math.min(left, available(entry));
entry[field] += take;
left -= take;
}
}
/**
* The annual allowance for a UK tax year, and how much of the year's pension
* input amounts is subject to the annual allowance charge.
*
* The earlier years are replayed oldest first, because an excess in one of
* them uses up unused allowance from the years before it (earliest first),
* and that is allowance the year being tested can no longer carry forward.
* A year's own allowance is used before any carried forward; carry-forward
* is then taken from the earliest of the three previous years first.
*/
export function pensionAnnualAllowance(
taxYearDate: string,
current: PensionInputYear,
previousYears: readonly PensionInputYear[]
): AnnualAllowanceResult {
const year = ukTaxYear(taxYearDate);
const startYear = Number(year.start.slice(0, 4));
if (previousYears.length < 3) {
throw new RangeError(
`previousYears must hold at least the three tax years before this one, oldest first, received ${previousYears.length}`
);
}
const ledger: Ledger[] = [];
previousYears.forEach((previous, i) => {
const window = ledger.slice(Math.max(0, i - 3), i);
const result = test(startYear - previousYears.length + i, previous, window.reduce((sum, e) => sum + available(e), 0));
consume(window, result.carryForwardUsed, "usedByLaterYears");
ledger.push({
taxYear: result.label,
allowance: result.testedAllowance,
input: result.testedInput,
unused: result.unused,
usedByLaterYears: 0,
usedThisYear: 0,
});
});
const window = ledger.slice(ledger.length - 3);
const carryForwardAvailable = window.reduce((sum, e) => sum + available(e), 0);
const result = test(startYear, current, carryForwardAvailable);
consume(window, result.carryForwardUsed, "usedThisYear");
const carryForward: CarryForwardYear[] = window.map((e) => ({
taxYear: e.taxYear,
allowance: gbp(e.allowance),
input: gbp(e.input),
unused: gbp(e.unused),
usedByLaterYears: gbp(e.usedByLaterYears),
usedThisYear: gbp(e.usedThisYear),
}));
return {
taxYear: result.label,
standardAllowance: gbp(result.standard),
allowance: gbp(result.allowance),
tapered: result.tapered,
moneyPurchaseAllowance: result.mpaa === null ? null : gbp(result.mpaa),
alternativeAllowance: result.alternative === null ? null : gbp(result.alternative),
totalInput: gbp(result.total),
basis: result.basis,
carryForward,
carryForwardAvailable: gbp(carryForwardAvailable),
carryForwardUsed: gbp(result.carryForwardUsed),
excess: gbp(result.excess),
};
}Install
fune build
With that line in your source, in a TypeScript project (language typescript in fune.project), fune build resolves it and its 2 dependencies, pins them in fune.lock, downloads only the TypeScript package of each, and builds the code above into your project’s .fune/build, one readable file per capability with a header linking back here. Or pin a range in fune.project and build in one step:
fune add invest.pension-annual-allowance
The manifest, vectors and README with only the TypeScript implementation. Install it without the registry with fune add ./invest.pension-annual-allowance-1.0.0-typescript.fune, or fetch it from a terminal with fune pull invest.pension-annual-allowance@1.0.0:typescript.
The whole function, every language, is one file too: invest.pension-annual-allowance-1.0.0.fune, 117,117 bytes, sha256 87d133c9704e1d8626a6ef6ba2c0cb8f64821c84cba418375fd12b70e0d5cded. It installs into a project of any language.
Customise it in your app
The seams this capability offers. Put a marker directly above a function of your own and fune build wires it into the built code; the package on the registry is not changed, the built file’s header lists it under CUSTOMISED, and fune hooks lists every hook in the project. How hooks work.
before — your function gets the arguments and returns them, changed or not, or throws to refuse the call.
// fune: before invest.pension-annual-allowance
after — your function gets the result and the arguments, and returns the final result.
// fune: after invest.pension-annual-allowance
replace — inside this capability’s code only, calls to a dependency go to your function, with the same signature. Other capabilities that use it are unaffected; write in * to replace it everywhere.
// fune: replace dates.uk-tax-year in invest.pension-annual-allowance
// fune: replace money.amount in invest.pension-annual-allowance
step — your function runs at a numbered point inside the function’s body, receives the in-scope values it names as parameters, and may return replacements. List the points with fune show invest.pension-annual-allowance --steps.
// fune: step invest.pension-annual-allowance after <n|label>
Tests
A version published now needs at least 8 tests for every function, and one that expects the error for each function that throws; the registry refuses it otherwise. fune verify --all runs each case in TypeScript, Python and Rust, and a project runs them again with fune verify. This page lists the cases; it does not run them. The exact JSON is vectors.json.
| Case | Arguments | Expected | |
|---|---|---|---|
| 2025/26 inside the £60,000: nothing carried forward is touched | 2025-10-01, money purchase input £30,000.00, other input £0.00, threshold income £100,000.00, adjusted income £100,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £30,000.00, basis standard, … |
| £120,000 uses £60,000 of carry-forward, the earliest year first | 2025-10-01, money purchase input £20,000.00, other input £100,000.00, threshold income £100,000.00, adjusted income £180,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £120,000.00, basis standard,… |
| £200,000 exhausts all three years and leaves £10,000 excess | 2025-10-01, money purchase input £200,000.00, other input £0.00, threshold income £150,000.00, adjusted income £250,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £200,000.00, basis standard,… |
| taper: adjusted income £300,000 takes £20,000 off | 2025-10-01, money purchase input £50,000.00, other input £0.00, threshold income £250,000.00, adjusted income £300,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £40,000.00, tapered true, money purchase allowance —, alternative allowance —, total input £50,000.00, basis standard, c… |
| taper stops at the £10,000 minimum | 2025-10-01, money purchase input £10,000.00, other input £0.00, threshold income £300,000.00, adjusted income £400,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £10,000.00, tapered true, money purchase allowance —, alternative allowance —, total input £10,000.00, basis standard, c… |
| threshold income of exactly £200,000 is not over the limit: no taper | 2025-10-01, money purchase input £60,000.00, other input £0.00, threshold income £200,000.00, adjusted income £300,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £60,000.00, basis standard, … |
| taper reduction is rounded down to a whole pound: £3 over gives £1 off | 2025-10-01, money purchase input £0.00, other input £0.00, threshold income £210,000.00, adjusted income £260,003.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £59,999.00, tapered true, money purchase allowance —, alternative allowance —, total input £0.00, basis standard, carry … |
| 2021/22 taper floor was £4,000 | 2021-10-01, money purchase input £4,000.00, other input £0.00, threshold income £300,000.00, adjusted income £400,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2021/22, standard allowance £40,000.00, allowance £4,000.00, tapered true, money purchase allowance —, alternative allowance —, total input £4,000.00, basis standard, car… |
| a tapered earlier year carries forward against its own reduced allowance | 2025-10-01, money purchase input £90,000.00, other input £0.00, threshold income £150,000.00, adjusted income £150,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £90,000.00, basis standard, … |
| an excess in an earlier year has already used the oldest unused allowance | 2025-10-01, money purchase input £90,000.00, other input £0.00, threshold income £150,000.00, adjusted income £150,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £90,000.00, basis standard, … |
Show the other 12 tests
| Case | Arguments | Expected | |
|---|---|---|---|
| with five earlier years given, that excess takes the oldest year's allowance first | 2025-10-01, money purchase input £90,000.00, other input £0.00, threshold income £150,000.00, adjusted income £150,000.00, mpaa applies false, member true, previous years ×5 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £90,000.00, basis standard, … |
| no carry-forward from a year without scheme membership | 2025-10-01, money purchase input £100,000.00, other input £0.00, threshold income £150,000.00, adjusted income £150,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £100,000.00, basis standard,… |
| MPAA: £15,000 of money purchase input is £5,000 over, and carry-forward cannot cover it | 2025-10-01, money purchase input £15,000.00, other input £0.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies true, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance £10,000.00, alternative allowance £50,000.00, total input £15,000.00… |
| MPAA applies but is not exceeded: the ordinary test | 2025-10-01, money purchase input £8,000.00, other input £50,000.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies true, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance £10,000.00, alternative allowance —, total input £58,000.00, basis s… |
| MPAA exceeded and defined benefits over the alternative allowance: carry-forward tops up the alternative only | 2025-10-01, money purchase input £20,000.00, other input £70,000.00, threshold income £100,000.00, adjusted income £190,000.00, mpaa applies true, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance £10,000.00, alternative allowance £50,000.00, total input £90,000.00… |
| an earlier MPAA year carries forward the alternative allowance less other inputs | 2025-10-01, money purchase input £90,000.00, other input £0.00, threshold income £150,000.00, adjusted income £150,000.00, mpaa applies false, member true, previous years ×3 | → | tax year 2025/26, standard allowance £60,000.00, allowance £60,000.00, tapered false, money purchase allowance —, alternative allowance —, total input £90,000.00, basis standard, … |
| fewer than three earlier years is refused | 2025-10-01, money purchase input £0.00, other input £0.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies false, member true, previous years ×2 | → | error: previousYears must hold at least the three tax years before this one |
| years before 2016/17 are not covered | 2018-10-01, money purchase input £0.00, other input £0.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies false, member true, previous years ×3 | → | error: no annual allowance rules for the 2015/16 tax year |
| inputs in a year without membership are refused | 2025-10-01, money purchase input £1,000.00, other input £0.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies false, member false, previous years ×3 | → | error: pension inputs in 2025/26 need membership of a registered pension scheme |
| amounts must be in sterling | 2025-10-01, money purchase input £0.00, other input €1.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies false, member true, previous years ×3 | → | error: otherInput must be in GBP |
| negative inputs are refused | 2025-10-01, money purchase input -£0.01, other input £0.00, threshold income £50,000.00, adjusted income £50,000.00, mpaa applies false, member true, previous years ×3 | → | error: moneyPurchaseInput must be a whole number of pence, not negative |
| fractional pence are refused | 2025-10-01, money purchase input £0.00, other input £0.00, threshold income £50,000.00, adjusted income £100..5, mpaa applies false, member true, previous years ×3 | → | error: adjustedIncome must be a whole number of pence, not negative |
More from the author
## How it is worked out
- **Allowance.** The standard annual allowance for the year. If threshold income is over its limit *and* adjusted income is over its limit, it is reduced by £1 for every £2 of adjusted income over the limit, the reduction rounded down to a whole pound, but not below the minimum tapered allowance (PTM057100). Both tests are "more than", so exactly £200,000 of threshold income is not tapered. - **Carry-forward.** Unused allowance of each of the three previous tax years can be carried forward, if the member belonged to a registered pension scheme at some time in that year. The current year's allowance is used first, then the earliest previous year's unused allowance (PTM055100). - **Earlier excesses.** An excess in one of the previous years will already have used unused allowance from the years before it, earliest first (PTM055200). So the previous years are replayed oldest first. Pass more than three years, oldest first, to replay further back; the oldest year you pass is assumed to have had nothing of its own to carry forward. - **MPAA.** When the MPAA applies and money purchase input (from the trigger on) is over it, the rest of the inputs are tested against the alternative annual allowance, the (tapered) allowance less the MPAA. Carry-forward can top up the alternative allowance but never the MPAA. The amount charged is the greater of the alternative chargeable amount (money purchase over the MPAA plus other inputs over the alternative allowance) and the default one (all inputs over the allowance) (PTM056510, PTM056540). A year like that carries forward the alternative allowance less its other inputs (PTM055100).
`moneyPurchaseInput` is the money purchase input tested against the MPAA: all of it in a year after the trigger, only the part after the trigger event in the year it happens. Everything else (defined benefit and cash balance inputs, and money purchase input before the trigger) is `otherInput`. When the MPAA does not apply the split does not matter.
## Rules data
`data/annual-allowance.json`, from 2016/17 (the first year of the taper), so the year tested must be 2019/20 or later to have three earlier years.
| Tax years | Allowance | Taper: threshold / adjusted income | Minimum | MPAA | |---|---|---|---|---| | 2016/17 | £40,000 | £110,000 / £150,000 | £10,000 | £10,000 | | 2017/18 to 2019/20 | £40,000 | £110,000 / £150,000 | £10,000 | £4,000 | | 2020/21 to 2022/23 | £40,000 | £200,000 / £240,000 | £4,000 | £4,000 | | 2023/24 on | £60,000 | £200,000 / £260,000 | £10,000 | £10,000 |
## Out of scope
Working out pension input amounts (defined benefit growth, the opening value revaluation, deferred members), threshold and adjusted income themselves, the 2015/16 transitional rules, scheme pays, the lifetime allowance, and individuals who are in more than one MPAA-related circumstance in a year beyond the split described above.
## Sources
Read on 2026-09-23:
- GOV.UK, "Tax on your private pension contributions: Annual allowance" (£60,000; taper over £200,000 threshold and £260,000 adjusted income; carry-forward from the previous 3 tax years): https://www.gov.uk/tax-on-your-private-pension/annual-allowance - HMRC Pensions Tax Manual PTM051100, "Annual allowance: essential principles" (£40,000 from 2014/15, £60,000 from 2023/24): https://www.gov.uk/hmrc-internal-manuals/pensions-tax-manual/ptm051100 - PTM057100, "Tapered annual allowance" (thresholds and minimums by year; £1 for every £2, rounded down to the nearest £1): https://www.gov.uk/hmrc-internal-manuals/pensions-tax-manual/ptm057100 - PTM056540, "Money purchase annual allowance: trigger event occurs during tax year 2016-17 or a later tax year" (MPAA £10,000 2016/17, £4,000 2017/18 to 2022/23, £10,000 from 2023/24; alternative and default chargeable amounts): https://www.gov.uk/hmrc-internal-manuals/pensions-tax-manual/ptm056540 - PTM056510, "Money purchase annual allowance" (carry-forward is added to the alternative annual allowance; taper reduces it): https://www.gov.uk/hmrc-internal-manuals/pensions-tax-manual/ptm056510 - PTM055100, "Carry forward" (order of use, membership, tapered and MPAA years): https://www.gov.uk/hmrc-internal-manuals/pensions-tax-manual/ptm055100 - PTM055200, "Carry forward: calculating unused annual allowance" (earlier excesses use earlier unused allowance first): https://www.gov.uk/hmrc-internal-manuals/pensions-tax-manual/ptm055200
## What a reviewer should check
- How much carry-forward an MPAA year consumes when the default chargeable amount is chosen (here: whatever the default computation used). - The tie rule: when the alternative and default chargeable amounts are equal, the default (standard) basis is reported. - Assuming nothing carried into the oldest year passed.
Files
| Path | Bytes |
|---|---|
| README.md | 5,359 |
| data/annual-allowance.json | 1,410 |
| impl/python.py | 7,644 |
| impl/rust.rs | 11,382 |
| impl/typescript.ts | 7,746 |
| vectors.json | 65,881 |