How the numbers are made
Every figure on this site comes from one rules engine reading a set of rule files. This page says what the engine does, what it does not do, and where each rule comes from.
Rules are data, with dates
Each country and region has its own rule file: 10 files today, holding 16 versions. Rates, bands, conditions and sources are data in those files; the engine that reads them is the same for every country, so a rate change never touches code.
A region starts from its country's file and lists only what differs. Andalusia builds on Spain, Catalonia builds on Spain, Madrid (Comunidad de Madrid) builds on Spain, Valencian Community builds on Spain, Azores builds on Portugal (mainland), Madeira builds on Portugal (mainland) and England builds on United Kingdom.
Every version has a start date and, once it is replaced, an end date. The calculator uses the version in force on the purchase date you enter, so an old date keeps its old answer and a date after a change gets the new rules. A new version can start from an earlier one and list only what changed.
| Rules | From | To | Starts from |
|---|---|---|---|
| Spain | 1 Jan 2026 | no end date | |
| Andalusia | 1 Jan 2026 | no end date | rules for Spain |
| Catalonia | 1 Jan 2026 | no end date | rules for Spain |
| Madrid (Comunidad de Madrid) | 1 Jan 2026 | no end date | rules for Spain |
| Valencian Community | 1 Jan 2026 | 31 May 2026 | rules for Spain |
| Valencian Community | 1 Jun 2026 | no end date | version of 1 Jan 2026 |
| Portugal (mainland) | 1 Jan 2026 | 24 May 2026 | |
| Portugal (mainland) | 25 May 2026 | no end date | version of 1 Jan 2026 |
| Azores | 1 Jan 2026 | 24 May 2026 | rules for Portugal (mainland) |
| Azores | 25 May 2026 | no end date | version of 1 Jan 2026 |
| Madeira | 1 Jan 2026 | 24 May 2026 | rules for Portugal (mainland) |
| Madeira | 25 May 2026 | no end date | version of 1 Jan 2026 |
| United Kingdom | 1 Jan 2024 | 8 Dec 2024 | |
| United Kingdom | 9 Dec 2024 | no end date | version of 1 Jan 2024 |
| England | 31 Oct 2024 | 31 Mar 2025 | rules for United Kingdom |
| England | 1 Apr 2025 | no end date | version of 31 Oct 2024 |
How a line is worked out
Each line of the bill is one component: a label, whether it is a tax or a fee, a condition saying when it applies (new or resale, main or second home, residency, age, first-time buyer, owning another home, the price), and one of these ways to work out the amount:
- A flat rate: one percentage of the price or the taxable value. Used in: Spain, Andalusia, Catalonia, Madrid (Comunidad de Madrid), Valencian Community, Portugal (mainland) and England.
- Bands: each slice of the value is taxed at its own rate, like income tax. Used in: Spain, Catalonia, Portugal (mainland) and England.
- Slabs: the whole value is taxed at the rate of the band it falls in. Used in: Madrid (Comunidad de Madrid) and Valencian Community.
- A fixed amount by band: the band the value falls in sets the amount, like a fee scale. Used in: United Kingdom.
- Rate minus deduction: the value times its band's rate, minus a fixed amount for that band. Used in: Portugal (mainland).
- An estimate: a low, typical and high figure for fees nobody regulates. Used in: Spain, Portugal (mainland) and United Kingdom.
In Spain, Andalusia, Catalonia, Madrid (Comunidad de Madrid), Valencian Community and Portugal (mainland), taxes are charged on the taxable value: the higher of the price and the official value of the property. If you don't enter an official value, the engine uses the price and says so in the notes.
Some lines are rounded down to the whole unit, as the tax authority does: Stamp Duty Land Tax, Stamp Duty Land Tax, first-time buyer relief, SDLT higher rates for an additional home (+5%) and SDLT non-resident surcharge (+2%).
Taxes are added up exactly. Fees that nobody regulates (lawyers, conveyancers, searches) and fees whose official scales are not modeled yet are estimates with a low, typical and high figure. The total uses the typical figure; the range adds up all the low ends and all the high ends.
Estimates, and figures not confirmed
An estimate is a market figure, not a quote, and it is always labelled as one. A figure or date that could not be confirmed against a source is flagged in the rule file with the reason, and the calculator highlights it in yellow on its line and in the cost bar. Today 3 items are flagged across all versions:
- Portugal (mainland), version from 1 Jan 2026: Stamp duty (Imposto do Selo, 0.8%), buyer aged 35 or under, above €660,982Above €660,982 the deduction follows the law's text: CIS art. 7-A(1) gives it to every purchase in CIMT art. 17(1)(b), and that table has no upper limit. The Government's gov.pt service page for the exemption (checked 2 November 2026) says the opposite, that above the 8% band no relief can be claimed and stamp duty is due on the full value, and the Tax Authority has published nothing else on it. Without the deduction this line is €2,644.31 higher.
- Azores, version from 1 Jan 2026: Stamp duty (Imposto do Selo, 0.8%), buyer aged 35 or under, above €826,228Above €826,228 the deduction follows the law's text: CIS art. 7-A(1) gives it to every purchase in CIMT art. 17(1)(b), and that table has no upper limit. The Government's gov.pt service page for the exemption (checked 2 November 2026) says the opposite, that above the 8% band no relief can be claimed and stamp duty is due on the full value, and the Tax Authority has published nothing else on it. Without the deduction this line is €2,644.31 higher.
- Madeira, version from 1 Jan 2026: Stamp duty (Imposto do Selo, 0.8%), buyer aged 35 or under, above €826,228Above €826,228 the deduction follows the law's text: CIS art. 7-A(1) gives it to every purchase in CIMT art. 17(1)(b), and that table has no upper limit. The Government's gov.pt service page for the exemption (checked 2 November 2026) says the opposite, that above the 8% band no relief can be claimed and stamp duty is due on the full value, and the Tax Authority has published nothing else on it. Without the deduction this line is €2,644.31 higher.
How the rules are checked
The engine is tested against 55 known results: 6 worked examples published by a government or tax authority, 8 from secondary sources such as tax guides, and 41 worked out by hand from the published rates, with the arithmetic written next to each. Every version of every rule file must have at least one of these cases, or the tests fail.
Other tests run every place for a spread of buyers and prices, on every version's start date, and check that exactly one main purchase tax applies, that no line is negative, and that taxes never fall as the price rises.
A scheduled check fetches the cited pages, compares each page's text with a stored fingerprint, and reports any page that changed, any review date due within 30 days, everything still flagged as not confirmed, and any source not checked in the last 180 days. A changed page means a person reads it again and, if a rate moved, adds a new version. 29 of the 29 cited pages have a stored fingerprint today.
Next reviews due: Spain by 31 Dec 2026, Portugal (mainland) by 31 Dec 2026 and England by 1 Apr 2027.
What the engine does not cover
- Notary and land registry fees are estimates, although Spain and the UK publish fee scales for them.
- Madrid's lower stamp duty bands on new builds.
- Young-buyer rates that depend on income, in Catalonia and the Valencian Community.
- Rates for large families and for buyers with a disability.
- The annual property tax, which mostly cannot be worked out from public data.
- Mortgage costs.
- Places other than the 8 listed on the calculators page.
The calculator does not give tax or legal advice. Confirm the figures with a lawyer or notary in the country where you are buying.
Every source
29 sources are cited: 27 are marked official (the law, a tax authority or a government site), 2 are marked secondary (tax guides, adviser alerts, transcribed tables). A marked source carries its label wherever it appears.
- Agència Tributària de Catalunya: ITP rates, checked 2 Nov 2026, official sourcehttps://atc.gencat.cat/ca/tributs/itpajd/tpo/tarifes-tipus/
- Lei 74/98, art. 2(2) and (4): laws with no date take effect on the fifth day after publication, checked 2 Nov 2026, official sourcehttps://diariodarepublica.pt/dr/detalhe/lei/74-1998-234316
- Decreto-Lei 97/2026 of 20 May, art. 6 (CIMT art. 17(10) to (12)), Diário da República, checked 2 Nov 2026, official sourcehttps://files.diariodarepublica.pt/1s/2026/05/09700/0001400040.pdf
- HouseCheckup: conveyancing searches compared (standard pack, 2026), checked 2 Nov 2026, secondary sourcehttps://housecheckup.co.uk/compare/conveyancing-searches
- Portal das Finanças: IMT and stamp duty on property purchases (AT leaflet, January 2026), checked 2 Nov 2026, official sourcehttps://info.portaldasfinancas.gov.pt/pt/apoio_contribuinte/Folhetos_informativos/Documents/Direitos_deveres_imoveis.pdf
- Código do Imposto do Selo, art. 7-A(1), and CIMT art. 17(1)(b), consolidated by the AT, checked 2 Nov 2026, official sourcehttps://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/codigos_tributarios/Cod_download/Documents/CIS.pdf
- AT Ofício Circulado 40129/2026: IMT practical tables from 1 January 2026 (Lei 73-A/2025; Lei 21/90 for the islands), checked 2 Nov 2026, official sourcehttps://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/legislacao/instrucoes_administrativas/Documents/Oficio_Circulado_40129_2026.pdf
- AT Ofício Circulado 40131/2026: the 7.5% rate for individuals, couples and refunds, checked 2 Nov 2026, official sourcehttps://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/legislacao/instrucoes_administrativas/Documents/Oficio-circulado-40131-2026.pdf
- Instituto dos Registos e do Notariado: Custos dos serviços (RERN arts. 21, 27-A), checked 2 Nov 2026, official sourcehttps://irn.justica.gov.pt/Custos-dos-servicos
- Ministério da Justiça: Balcão Casa Pronta, fees (updated 28 July 2026; RERN art. 27-A), checked 2 Nov 2026, official sourcehttps://justica.gov.pt/Servicos/Balcao-Casa-Pronta
- Decreto Legislativo 1/2010 (Madrid), arts. 28, 30 bis, 32, 37 and 38 bis, BOE consolidated text, checked 2 Nov 2026, official sourcehttps://www.boe.es/buscar/act.php?id=BOCM-m-2010-90068
- Ley 37/1992 del IVA, art. 91.Uno.1.7º (10% on homes), BOE consolidated text, checked 2 Nov 2026, official sourcehttps://www.boe.es/buscar/act.php?id=BOE-A-1992-28740
- Ley 13/1997 (Valencia), arts. 13 and 14, BOE consolidated text, checked 2 Nov 2026, official sourcehttps://www.boe.es/buscar/act.php?id=BOE-A-1998-8202
- Ley 5/2021 de Tributos Cedidos (Andalusia), arts. 41, 43, 49 and 50, BOE consolidated text, checked 2 Nov 2026, official sourcehttps://www.boe.es/buscar/act.php?id=BOE-A-2021-17915
- Decret Legislatiu 1/2024 (Catalonia), arts. 641-1, 641-5, 642-1 and 642-6, BOE consolidated text (rates since 27 June 2025, Decret llei 5/2025), checked 2 Nov 2026, official sourcehttps://www.boe.es/buscar/act.php?id=BOE-A-2024-6951
- Ley 5/2025 (Valencia), arts. 33 and 34: 9% ITP and 1.4% AJD from 1 June 2026, checked 2 Nov 2026, official sourcehttps://www.boe.es/buscar/act.php?id=BOE-A-2025-11959
- Real Decreto 1426/1989, Arancel de los Notarios, BOE consolidated text, checked 2 Nov 2026, official sourcehttps://www.boe.es/eli/es/rd/1989/11/17/1426/con
- Real Decreto 1427/1989, Arancel de los Registradores, Anexo I Número 2 (inscriptions), BOE consolidated text, checked 2 Nov 2026, official sourcehttps://www.boe.es/eli/es/rd/1989/11/17/1427/con
- HM Treasury: Budget 2026, overview of tax legislation and rates, Annex A (SDLT unchanged since 1 April 2025; 28 October 2026), checked 2 Nov 2026, official sourcehttps://www.gov.uk/government/publications/budget-2026-overview-of-tax-legislation-and-rates-ootlar/annex-a-rates-and-allowances
- GOV.UK: SDLT temporary increase to thresholds (to 31 March 2025), checked 2 Nov 2026, official sourcehttps://www.gov.uk/government/publications/stamp-duty-land-tax-temporary-reductions-for-residential-properties/stamp-duty-land-tax-temporary-increase-to-thresholds
- HM Land Registry: registration services fees, Scale 1 (updated 28 April 2025), checked 2 Nov 2026, official sourcehttps://www.gov.uk/guidance/hm-land-registry-registration-services-fees
- GOV.UK: Stamp Duty Land Tax, buying an additional residential property (updated 1 April 2025), checked 2 Nov 2026, official sourcehttps://www.gov.uk/guidance/stamp-duty-land-tax-buying-an-additional-residential-property
- HMRC SDLTM09885: non-resident surcharge, spouses and civil partners of UK residents, checked 2 Nov 2026, official sourcehttps://www.gov.uk/hmrc-internal-manuals/stamp-duty-land-tax-manual/sdltm09885
- HMRC SDLTM09960: reclaiming the non-resident surcharge by amending the return, checked 2 Nov 2026, official sourcehttps://www.gov.uk/hmrc-internal-manuals/stamp-duty-land-tax-manual/sdltm09960
- HMRC SDLTM29845: who is a first-time buyer (Finance Act 2003, Schedule 6ZA para 6), checked 2 Nov 2026, official sourcehttps://www.gov.uk/hmrc-internal-manuals/stamp-duty-land-tax-manual/sdltm29845
- GOV.UK: Stamp Duty Land Tax, residential property rates, checked 2 Nov 2026, official sourcehttps://www.gov.uk/stamp-duty-land-tax/residential-property-rates
- Finance Act 2003, Schedule 4ZA (higher rates for additional dwellings; the £40,000 limits), checked 2 Nov 2026, official sourcehttps://www.legislation.gov.uk/ukpga/2003/14/schedule/4ZA
- The Land Registration Fee Order 2024 (SI 2024/931), checked 2 Nov 2026, official sourcehttps://www.legislation.gov.uk/uksi/2024/931/made
- Which?: Conveyancing, what it is and what it costs (29 May 2026), checked 2 Nov 2026, secondary sourcehttps://www.which.co.uk/money/mortgages-and-conveyancing/guides/conveyancing/