Line4 logoLine4

Search line4.ai

What are XBRL calculations?

An XBRL calculation linkbase says that one concept is the weighted sum of others, such as total assets equals the sum of its lines, and software checks that the reported numbers add up. Calculations 1.1, an XBRL International Recommendation of 22 February 2023, fixes how rounded values and duplicate facts are checked. Supervisory DPM taxonomies such as the EBA’s check their totals with XBRL Formula instead. Outside Europe, the SEC names Calculations 1.1 for every EDGAR filing, though inconsistencies do not make a submission invalid, and the US Call Report has 243 sum checks.

Run a regulator’s validation rules on a filing, free in your browser →

EBA, EIOPA and Bank of England rules. Nothing is uploaded.

Guide · 5 min read · Updated 21 November 2026 · By Jess Luper

What a calculation linkbase does

A calculation is a set of summation-item relationships: one total concept, its contributing concepts, and a weight on each, usually 1 or -1. A processor adds the contributing facts, applies the weights and compares the result with the reported total.

It only compares facts that line up. In Calculations 1.1, a calculation binds to facts that are “dimensionally aligned”: the same entity, period, unit and dimension values, differing only in the concept (section 5.1). So it cannot compare periods or templates; that needs XBRL Formula.

01Total and itemsThe total concept is the parent; each contributing concept is a child with a weight. A weight of -1 subtracts, as in net income equals revenue minus expenses.
02One calculation, one networkThe specification defines a calculation as all summation-item relationships sharing a total concept, an extended link role and an arcrole (section 4.2).
03Same context onlyFacts are summed only when they match on everything except the concept, so each check stays inside one context.
2023Calculations 1.1 became an XBRL International Recommendation (22 February)XBRL International →
0calculation linkbases in the EBA 4.4 reporting frameworks, next to 813 validation rule filesLine4 count of the EBA 4.4 taxonomy package, November 2026
1,952calculation arcs in the EBA 4.4 dictionary, all describing domain hierarchies, none of them summation-itemLine4 count of the same package

What Calculations 1.1 changed

XBRL 2.1 calculations were known to misfire. In the specification’s words, checking had deficiencies “which can cause erroneous consistency failures on rounded values, and missed consistency failures where duplicate facts are present” (abstract).

Calculations 1.1 treats each reported number as a range, set by its decimals, and passes the calculation when the range of the computed total overlaps the range of the reported total (section 5.2).

01Two modes“round-to-nearest” assumes values were rounded, “truncation” that they were cut off. Processors must support both, and one mode must be used for every calculation in a report (section 5.2.1).
02Duplicate factsConsistent duplicates are combined by taking the overlap of their ranges (section 5.5). Inconsistent duplicates are an error, not silently ignored (section 5.4).
03A new arcroleCalculations 1.1 relationships use https://xbrl.org/2023/arcrole/summation-item. The 2.1 arcrole stays valid; authors are encouraged to move to 1.1 and discouraged from shipping both.

An example: how the EBA uses calculation files

The EBA 4.4 taxonomy has 30 hier-cal.xml files, all in its dictionary. They describe how members of a domain break down, using Eurofiling arcroles, not summation-item. In the approaches domain, hierarchy AP1 says the IRB Approach breaks down completely into Advanced IRB and Foundation IRB.

What the EBA 4.4 calculation files contain (counted by Line4)
Files
30 hier-cal.xml, one per dictionary domain hierarchy; 0 in the reporting frameworks
Arcs
1,952: 1,326 complete-breakdown, 625 partial-breakdown, 1 superset-breakdown
Weights
1,945 of 1, 7 of -1
Template totals
Checked by XBRL Formula assertions, in 813 validation rule files
What it tells a supervisor’s system

eba_x27 (IRB Approach) is made up of eba_x66 (Advanced IRB Approach) and eba_x67 (Foundation IRB Approach), and nothing else. The file describes the domain; the checks that firms’ numbers actually add up across it run as Formula assertions on each filing.

Hierarchy AP1, IRB part (shortened)Show<link:calculationArc xlink:arcrole="http://www.eurofiling.info/xbrl/arcrole/complete-breakdown" xlink:from="loc_eba_x27" xlink:to="loc_eba_x66" weight="1" order="1" /> <link:calculationArc xlink:arcrole="http://www.eurofiling.info/xbrl/arcrole/complete-breakdown" xlink:from="loc_eba_x27" xlink:to="loc_eba_x67" weight="1" order="2" />

Copied from dict/dom/ap/hier-cal.xml in the EBA 4.4 taxonomy package, with locators left out. Labels from the same folder’s mem-lab-en.xml. The Central Bank of Ireland taxonomy 2.4 does the same: 5 hier-cal.xml files, 79 complete-breakdown arcs.

Calculations say the parts add up. Formula says everything else, and in supervisory taxonomies it says the sums too.

What it means for supervisors

If your taxonomy is a DPM taxonomy, totals and breakdowns are checked by your Formula rules, so publish those rules with each release and give each one an identifier firms can quote. A missing or wrong rule is a gap that calculations will not fill.

If you accept company accounts with calculation linkbases, say which mode you check in and whether a failure blocks a filing. The specification asks that “entities that accept XBRL Reports as part of a filing system should make it clear how calculation validation results will be handled.”

Where AI fits, and where people decide

AI can explain a failed total in plain words: which lines were summed, by how much they missed, and whether rounding could explain it. It can also spot sums in a template that no rule yet checks.

Whether a sum must hold, and within what tolerance, is a supervisory decision written into the rules. The check itself is arithmetic, run the same way every time and kept with each filing.

Put it to workBefore your next taxonomy release
  1. 1Is every template total checked by a published rule?
  2. 2If you ship calculation linkbases, are they Calculations 1.1 or 2.1, and not both?
  3. 3Have you said which rounding mode you check in?
  4. 4Do duplicate facts fail, or are they silently accepted?
  5. 5Can a firm see exactly which lines a failed total summed?

Where Line4 fits

Line4 is SupTech software for financial regulators. It collects returns in XBRL, Excel and CSV by portal, API or MCP, validates them against your taxonomies and rules at the point of submission (see XBRL software for regulators), and puts AI to work reading them, with supervisors making every decision. If you work with a standard we have not yet run in production, we will say so plainly and show you how we would approach it.

Questions

What is an XBRL calculation linkbase?

The part of a taxonomy that says one concept is the weighted sum of others, such as a total equals the sum of its lines. Software adds the reported parts and checks the result against the reported total.

What is Calculations 1.1?

An XBRL International Recommendation of 22 February 2023 that replaces how XBRL 2.1 checked calculations. It treats rounded values as ranges, so correctly rounded numbers no longer fail, and it stops duplicate facts hiding errors.

What are round-to-nearest and truncation?

The two modes in Calculations 1.1. Round-to-nearest assumes each value was rounded to its decimals; truncation assumes it was cut off. Processors must support both, and one mode is used for every calculation in a report.

How does Calculations 1.1 handle duplicate facts?

Duplicates that agree within their precision are combined by taking the overlap of their ranges. Duplicates that disagree are an error, so a filing cannot pass a calculation by reporting the same line twice with different values.

Do EBA reporting taxonomies use calculation linkbases?

Not for template totals. Line4 counted 0 calculation linkbases in the EBA 4.4 reporting frameworks. The dictionary has 30 hier-cal.xml files that describe domain hierarchies with Eurofiling arcroles; template totals are checked by XBRL Formula rules.

What is the difference between XBRL calculations and XBRL Formula?

Calculations can only say a total is the weighted sum of parts in the same context. Formula can test almost anything: sums across dimensions, comparisons across templates or periods, ratios, conditions and tolerances.

Can a calculation compare two periods?

No. A calculation only binds facts that are dimensionally aligned, meaning the same entity, period, unit and dimension values. Movements between periods are checked with XBRL Formula.

Are calculations checked outside Europe, for example at the SEC?

Yes, with a lighter touch. The SEC’s EDGAR XBRL Guide (November 2026) names XBRL Calculations 1.1 among the specifications that govern every EDGAR filing, and requires a calculation relationship from a total element where its conditions are met. But it also says calculation inconsistencies have no impact on whether a submission is valid. The US Call Report checks its sums with 243 sum checks, by Line4’s count of the September 2026 taxonomy. Line4 runs each regulator’s calculation checks at the severity it sets.

Share this guideShare on LinkedIn
Was this useful?

For supervisors

New guides and Insights, by email

One short email when we publish something worth your time, from Jess Luper. No spam, unsubscribe any time.