What Is XBRL? A Guide for the Person Reading the Numbers

Joey French••5 min read
#XBRL#SEC filings#financial data#Inline XBRL

Listen to this story

XBRL (eXtensible Business Reporting Language) is the tagging that lets software read a company's financial statements: every number in an SEC filing carries a label saying what it is, for what period and in what unit. Nearly every explanation of it is written for the company that files, but the reader is the one who gets the number wrong. Add up every revenue fact in Apple's latest 10-K and you get $3.83 trillion. Apple's revenue for the year was $478.8 billion.

This post explains XBRL from the reader's side, using that one filing, and ends with the rule that gets you the right number every time.

What is XBRL?

XBRL turns each number in a financial statement into a fact a program can read without guessing. Here is Apple's revenue for its fiscal year 2026, as one fact from its 10-K filed November 3, 2026:

PartIn Apple's fact
Conceptus-gaap:RevenueFromContractWithCustomerExcludingAssessedTax
PeriodSeptember 28, 2025 to September 26, 2026
UnitUS dollars
Precisionto the million
Value478,834,000,000

The concept says what the number is, and it comes from a shared dictionary, so "revenue" means the same thing in Apple's filing and in every other filer's. The period says when. A flow like revenue covers a stretch of time, and a balance like cash is measured on one day. The unit and the precision say how to read the digits.

There's one more part, and it's the one that trips readers up: the context. A fact can carry dimensions that say it's only a slice of the total, such as one product line or one region. This revenue fact carries none, and that's what makes it the total.

Why don't XBRL numbers add up?

Because a filing reports the same concept many times on purpose. Apple's 10-K carries 20 revenue facts for fiscal 2026, and they add up to $3,830,672 million: exactly eight times the real revenue. Two separate things inflate the sum.

The same fact appears more than once. The $478,834 million total is tagged four times, once in each place it appears in the document, and the $123,301 million services figure twice. They're duplicates, not new numbers. Keep one of each and 20 facts become 16.

The rest are slices of the same total. Of those 16, one is the total itself and one is a $0 corporate line. The other 14 are breakdowns, and each breakdown adds back up to the total:

  • Products and services: $355,533 million and $123,301 million.
  • Countries: the US $167,746 million, China $82,378 million, other countries $228,710 million.
  • Segments: Americas $198,083 million, Europe $127,604 million, Greater China $82,378 million, Japan $30,908 million, Rest of Asia Pacific $39,861 million.
  • Product lines: iPhone $254,098 million, Mac $37,929 million, iPad $27,929 million, and Wearables, Home and Accessories $35,577 million, which together make up the products figure.

Each list is a different way of slicing the same $478.8 billion. In XBRL, a way of slicing is an axis and each slice is a member: the segment axis has five members, Americas through Rest of Asia Pacific. Sum all 16 and you count Apple's revenue four times over, plus its product lines a fifth time: $2,270,869 million.

Even one axis isn't safe to sum. Apple reports products, services and the four product lines on the same product-or-service axis, so adding that axis alone gives $834,367 million, because the product lines are counted once on their own and again inside the products figure.

How do you get the right number from XBRL?

Take the fact with no dimensions, once. That's the consolidated total the company reported, $478,834 million here, and it's the Net sales line on the face of Apple's statement of operations. Use a breakdown only when you mean to, one axis at a time, and check that its members add back to that total before you trust them.

You can watch this happen on Apple's filing without an account. xbrlkit is our open-source XBRL reader (pip install xbrlkit). Its fact grid returns the consolidated total by default, and the breakdowns only when you ask for them. Every filer's facts are loaded the same way in the RoboSystems SEC graph, where the rule is one filter, so a query that asks for revenue gets revenue.

What is XBRL used for?

It lets software read financial statements without a person retyping them. Regulators collect filings in it, and anyone reading the filings (an analyst, a data provider, an AI assistant) gets each number with its meaning, period and unit attached, instead of a figure scraped from a table.

Is XBRL required by the SEC?

Yes, for public companies' financial statements. The SEC's Inline XBRL page says "Domestic filers must file cover page and financial statement information" in Forms 10-Q and 10-K "in Inline XBRL," and foreign private issuers do the same on Forms 20-F and 40-F.

Inline XBRL is the current form of it. In the SEC's words, it "allows filers to prepare a single document" that people and software both read: the tags sit inside the filing you'd open in a browser, rather than in a separate file beside it.

What is an XBRL taxonomy?

It's the dictionary the facts are tagged from: the concepts, the axes and the members, and how they relate. US public companies tag from the US GAAP taxonomy, which is where us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax comes from. A company can add its own entries when the dictionary lacks one. Apple's product lines are Apple's own members, aapl:IPhoneMember among them, because the US GAAP taxonomy has no iPhone.

Every filer at once

One filing read by hand teaches the rule. For every filer, the SEC EDGAR API page covers the RoboSystems SEC graph, and the whole graph is a file on Hugging Face you can download and query on your own machine.

To check these numbers yourself, open Apple's 10-K in the xbrlkit viewer.

J

Joey French

RoboSystems, the open-source knowledge graph for finance, is built by an ex-Workiva principal financial knowledge engineer and inactive CPA. Our own companies' books are kept on it.

The open-source knowledge graph for finance

Talk it through in 20 minutes, or read the code first.