The GRID Spreadsheet Benchmark: how close do spreadsheet engines get to Excel?

Every spreadsheet solution will say it is compatible with Excel. Now we can check those claims.

Hjalmar Gislason, Gunnlaugur Þór Briem and Steinn Eldjárn Sigurðarson10 November 2026 · 9 min read

For eight years our job at GRID has been to build a spreadsheet engine that gives the same answer as Excel, because if a model returns different numbers nobody will trust your solution. To make sure we'd earn that trust, we had to build a test rig.

Today we are opening that rig up. The GRID Spreadsheet Benchmark measures how closely an engine's formula results match Excel's. It runs thirteen engines today, the results are live on the benchmark page, and everything needed to rerun it is in a public repository. If you are choosing an engine to build on, or building one yourself, this is meant for you.

What we measure

Excel is the reference. Every test workbook is opened in desktop Excel, fully recalculated and saved. The value Excel writes into each formula cell is the expected answer. Not the value a test's author wrote next to the formula, not a specification, and not our own engine.

The tests are other people's. We did not write the tests we score on. We took eight test suites from open-source projects: two from IronCalc, and one each from LibreOffice, Gnumeric, Apache POI, HyperFormula, Univer and fast-formula-parser. Each is imported at a pinned commit, and the suites written as code are turned into workbooks, one cell per test case. That gives 102,516 test cases covering 497 of Excel's functions. We also have our own comprehensive suite of function tests, which gives us extra depth, but it stays out of the public score.

Every engine gets the same cells, and must match exactly. The engine must return Excel's value, or the same error Excel returns. Text, true/false and errors must be identical, and that includes complex numbers, which Excel's functions return as text, so they get no numeric tolerance. Numbers count as equal when they agree to about seven significant digits, or lie within 5×10⁻⁸ of each other when they are close to zero. Two correct engines can differ in the last digits: they add things up in a different order, or stop an iterative function like IRR one step apart. That is not a wrong answer, and nobody reads a model to the fifteenth digit. Cases Excel itself cannot judge are left out: volatile functions like RAND and NOW, functions Excel does not have, like REGEXMATCH, ISEMAIL, WEEKS and HF.ADD, and formulas Excel drops when it repairs a file.

Every engine really recalculates. An engine that reads an xlsx file also sees the values Excel saved in it, and could hand those back instead of computing anything. We check that every engine on the board computes its own answers.

The board

As of 10 November 2026, v1. The benchmark page has the current results.

EngineVersionCompatibilityFailures per 1,000, log scale
1GRID19.0.019.0.099.9%1.2
2GridCraft0.18.00.18.095.8%42
3IronCalc0.9.10.9.195.2%48
4SpreadsheetGear9.3.859.3.8594.4%56
5Mog1.0.01.0.091.5%85
6SpreadJS19.2.519.2.591.3%87
7Univer1.4.01.4.091.2%88
8Google SheetsWeb, Nov 9, 2026Web, Nov 9, 202690.6%94
9LibreOffice26.8.2.226.8.2.287.4%126
10HyperFormula3.5.03.5.082.9%171
11Gnumeric1.12.621.12.6282.8%172
12Apache POI6.0.06.0.052.9%471
13fast-formula-parser1.0.191.0.1947.0%530
1101001,000

These are good engines. Behind us, the next three are within a point and a half of each other, and seven more score above 90%. Four implement a function we have not yet, FILTERXML. Apache POI and fast-formula-parser are a different kind of project, a file library and a formula parser with evaluators on the side, and their scores should be read that way.

Why the last few percent are the hardest

A percentage near 100 hides how far apart engines are. Look at failures instead. An engine at 95.81% gets 42 of every 1,000 cases wrong. At 99.88% it is 1.2. That is about 35 times fewer wrong answers, from what looks like a gap of about 4 points. It is why the page plots failures on a log scale: each step closer to Excel takes more work than the last.

The reason is what the remaining failures are. The first 90% is implementing functions. The next few points are getting them right on ordinary inputs. What is left after that are the edge cases, and our own remaining failures show what they look like. =DATEVALUE("Jan1, 2015"), with no space after the month, is 1 January 2015 in Excel and #VALUE! in GRID. =TEXT(A1,"hh:mm a/p") at half past midnight gives 12:30 a in Excel, where GRID prints 00:30 a/p. And =ROW(INDIRECT("NonExist!W3")) is #REF! in Excel, since there is no such sheet, where GRID answers 3. Each one is a small fix. There are thousands of them, and nobody tells you where they are.

The benchmark page shows the same thing per function. Of the 497 functions tested, GRID passes every test case for 439. The next engines are at 170 (SpreadsheetGear) and 123 (GridCraft). What separates the top engines is no longer how many functions they implement, but how many of those functions you can trust on every input these suites test.

GRID439
SpreadsheetGear170
GridCraft123
Functions where every test case matches Excel, of the 497 tested

Suite by suite

The page shows the pooled score. Here is the same run broken down by the suite the tests came from, with each engine's own suite outlined.

EngineTest suites
Cases102,51672,67811,4545,5234,4913,1781,9601,7671,465
GRID99.999.9899.499.499.9100.099.899.6100.0
GridCraft95.897.292.889.694.490.396.991.293.9
IronCalc95.299.988.776.180.692.773.791.471.5
SpreadsheetGear94.496.488.084.493.098.599.373.095.9
Mog91.594.489.073.889.184.182.276.287.7
SpreadJS91.394.286.579.491.379.869.687.587.7
Univer91.292.288.893.891.178.185.588.291.5
Google Sheets90.694.375.975.290.789.693.085.686.6
LibreOffice87.490.783.865.082.886.888.571.670.0
HyperFormula82.989.764.851.285.976.767.455.366.1
Gnumeric82.883.480.371.284.893.298.272.181.3
Apache POI52.951.646.144.365.298.866.352.651.0
fast-formula-parser47.044.645.540.965.358.861.948.095.6
Score in each suite, in percent, next to the overall score. Outlined: the engine's own suite. Darker: closer to Excel. Select a column heading to sort by it.

One suite carries most of the cases. IronCalc's suite supplies about 71% of them (72,678 of 102,516), 73% with IronCalc's unit tests, and two of its workbooks, ARABIC_ROMAN and FLOOR_CEILING, about half of all cases. We pool every case rather than weighting suites, because the suites are a well of good tests and more tests are better. But it means the headline leans on IronCalc's suite, where IronCalc itself scores 99.9%. Weigh the 8 suites equally instead and GRID is still first, while IronCalc moves from third to eighth. The repository lists every engine's mean of suites. Read across a row and you see how an engine does on tests written by people who never saw its code.

No engine passes all its own tests. IronCalc comes closest at 99.9%. HyperFormula passes 85.9% of its own suite, LibreOffice 83.8%. The reason is how the benchmark is built. We keep each suite's formulas and inputs, but not its expected answers: every workbook goes through Excel, and Excel's answer becomes the expected value. So when an engine misses one of its own tests here, it is usually because the test's author expected something different from what Excel returns. In more than nine in ten of HyperFormula's misses on its own suite, the engine returns exactly the answer its own test expects. Excel is the one that disagrees. The same holds for most of the misses by Univer, Apache POI and fast-formula-parser on their own suites, and for more than half of LibreOffice's.

Some of those differences seem deliberate. HyperFormula's tests read dates day first, so "02/08/2020" is 2 August to them and 8 February to Excel in US English. LibreOffice converts units Excel does not know, and finds an interest rate where Excel gives up with #NUM!. Others, like its Bessel functions parting ways with Excel's in the sixth or seventh digit, are harder to call.

And some of the drift is Excel's own. A test written years ago to match Excel's answer at the time may not match what today's Excel returns. Excel changes, quietly, and a test suite is a snapshot of what its authors believed when they wrote it. That is one more reason to measure against Excel itself rather than against anyone's expected answers, ours included.

Reading the numbers honestly

This is a stress test, not a model. Test suites exist to find what breaks: odd inputs, boundaries, error handling, obscure functions. A failure rate of 5% here does not mean one cell in twenty goes wrong in a real workbook. But the larger and more complex the model, a big financial model say, the more likely it is to hit some of these cases somewhere. That is why the last edge cases matter: every engine, ours included, still has some, and a big model finds them.

File in, values out. Engines that read xlsx files themselves carry their reader's bugs in these numbers, because that is what their users get. Engines without a reader are handed the cells and formulas, which is how their users run them. An open-source xlsx reader reads the files for them, the same one for every such engine. One of our engineers wrote it. Our own engine reads the files itself. Google Sheets imports each workbook into Google Drive, and its xlsx export gives the values.

A workbook an engine cannot finish counts in full. If an engine fails to load a workbook, crashes on it or takes more than 60 seconds, every case in it counts as wrong, including cases that would otherwise be left out. One workbook that fast-formula-parser does not finish in time costs it 11 points.

Excel is the reference, not the truth. Excel has quirks, and matching them is the point. The reference is desktop Excel for Windows 16.0, build 20527, in US English.

Versions move. Several of these engines release monthly. Every result carries the version and the date it was run, and we will rerun the board as engines release.

Rerun it yourself

The harness is in the public repository, under the Apache 2.0 licence. It holds the import scripts for the eight suites, the Excel-saved test workbooks, the runner for every engine on the public board, and every published report. You do not need Excel, or anything from GRID beyond our public engine package, to reproduce the numbers: clone, install, run. The commercial engines need their own licence or trial key, and Google Sheets a Google account.

The test workbooks keep the licences of the suites they came from, and the results are published under CC BY 4.0, so use them, with credit. This is v1 of the benchmark: the suites are frozen at the commits listed in the repository, so every number on the board is measured against the same tests. Upstream suites keep growing, and moving to their newer tests will be a new version of the benchmark, not a quiet update to this one.

Found a bug, think we ran an engine wrong, or want another engine on the board? Open an issue. We will fix the setup and rerun.

What comes next

This is the first of at least three benchmarks. Formula compatibility asks whether an engine gets the answer right. The next two ask what else it supports, and how fast it gets there: coverage of features beyond formulas, and performance and memory usage on real-sized workbooks. Those numbers are coming, and we expect them to be just as interesting.

If you need Excel's answers inside your own product, the engine at the top of this board is the one we make: the GRID spreadsheet engine.

News

Updates and announcements

27.11.2026

The Python was right. The spreadsheet was wrong.

On 400 spreadsheet tasks, the agent without an engine scored 78% and the agent with GRID scored 90.75%. When we required formulas where the reference workbook had formulas, the same workbooks scored 54.25% without an engine and 87% with GRID.

19.11.2026

How AI builds a spreadsheet: openpyxl, then 430 MB of LibreOffice

In September, Simon Willison went poking around his disk and found 1.7 GB of runtime inside OpenAI's Codex desktop app, since renamed ChatGPT. Next to Python, Node and git sat a complete headless LibreOffice: 430 MB of office suite, shipped so the agent can work with documents. This did not surprise us. We have watched this pipeline since the first AI spreadsheet experiments, and it is still how most of the industry builds spreadsheets with AI. It made sense as a stopgap. It doesn't anymore: next to an engine built for the job, it is less accurate, far slower and more than a hundred times bigger. The recipe Ask an AI agent for an Excel model and it will almost always write the file with openpyxl, the Python library all over its training data. openpyxl writes formulas but cannot calculate them, so the formula cells hold no values. Anything that reads the stored values sees blanks: the Python data library pandas, file previews, and the agent itself, checking its own work. And the model writes formulas the way a person types them, not the way Excel stores them. Leave out the _xlfn. prefix Excel expects on XLOOKUP inside the file and the cell opens in Excel as #NAME?. Write a LET without its _xlpm. prefixes, or a spill reference like A1#, and Excel greets the whole file with "We found a problem with some content". So the pipeline needs something to calculate the file, and the answer is nearly always LibreOffice. Anthropic's public xlsx skill runs LibreOffice to recalculate the workbook. Alibaba's QwenPaw agent ships an adapted copy of the same script. Moonshot's Kimi checks its files against LibreOffice's recalculation, according to an extracted copy of its skills. OpenAI bundles the whole suite into its desktop app. LibreOffice is free, it is already there, and it opens xlsx. None of that means it calculates like Excel. So how close does it get? Missing one case in eight Last week we published the GRID Spreadsheet Benchmark: over 100,000 test cases from eight open source test suites, 13 engines, every case checked against Excel itself. LibreOffice matches Excel on 87.4% of them. That sounds respectable, and LibreOffice Calc is a good spreadsheet app. The test is deliberately hard: it is built from edge cases, not the SUMs that fill most of a real model. But edge cases are where a model goes quietly wrong, matching Excel on them is a high bar, and the last few percent are where the hard work is. 87.4% is 126 misses in every 1,000 cases. The GRID engine gets 1.2 wrong. LibreOffice isn't sloppy. It is a different spreadsheet app with its own opinions. On its own project's test suite it agrees with Excel only about 84% of the time, because many of those tests expect LibreOffice's answer: it converts units Excel has never heard of, and it finds interest rates where Excel gives up with #NUM!. Of the nearly 500 Excel functions in the benchmark, only 16 pass every test in LibreOffice. In GRID, 439 do. Then the tool starts dictating the spreadsheet. Anthropic's skill tells the model to never use XLOOKUP, XMATCH, SORT, FILTER, UNIQUE or SEQUENCE, saying the LibreOffice it runs can't evaluate them. LibreOffice has handled them since 2024, but the rule stands: the agent builds an older, worse spreadsheet to suit its calculator. "We found a problem with some content" In most of these pipelines, when LibreOffice recalculates a file, it also saves it, and it saves it the way LibreOffice understands it. Usually the file still opens in Excel. Sometimes it doesn't. Take the sensitivity table, a fixture of every financial model: a what-if data table showing, say, the implied share price under different WACC and terminal growth assumptions. Put a workbook with one through a pipeline that saves through LibreOffice, like QwenPaw's, open it in Excel, and you get "We found a problem with some content". LibreOffice has written the table back as a formula Excel doesn't have. Click Yes, and Excel repairs the file by turning every cell of the table into a fixed number. The numbers are right for today's inputs. Change the WACC and nothing moves. The model still looks finished. It just stopped being a model. Anthropic's skill was recently changed to recalculate on a copy and write only the values back into the file. That is a sensible patch, and an admission that LibreOffice can't be trusted to save the file. It is still trusted to calculate it, and to tell the agent the file is fine. That trust is misplaced too, because LibreOffice waves through problems it didn't cause. Ask an agent for a table with years as column headings, 2025 and 2026, as in nearly every financial model. openpyxl writes the headings as numbers, and Excel requires table headings to be text. Name a table Q1 and it is the same story, since Excel reads that as a cell address. LibreOffice opens these files, recalculates them without complaint and saves them. The agent's check passes. Excel opens the file with "We found a problem with some content". 430 MB and a second and a half Even when it gets the answer right, LibreOffice is the wrong shape for the job. Every check boots a desktop office suite in headless mode, loads the file, calculates, and writes the file back. On nearly 1,800 benchmark workbooks, run on the same machine, that took a median of 1.6 seconds per workbook. The GRID engine took 18 milliseconds, and it doesn't need to save: it holds the workbook in memory and writes the file once, when the agent is done. These are small workbooks, so most of that time is LibreOffice starting up, and today's agent skills pay it on every check. Anthropic's starts it twice. The obvious fix is to keep it running. In a separate test it still took about 80 milliseconds per workbook, and now the client keeps an office suite running in the background whenever a spreadsheet might come up in any thread. Then there is the weight. ChatGPT's headless LibreOffice is 430 MB. The GRID engine is a 3.5 MB package that runs in process, in Node or in the browser. The embedded LibreOffice may actually be doing other jobs too, like rendering documents and converting them to PDF. But those jobs have lighter tools as well. SuperDoc builds, edits and renders Word documents in the browser: an engine for DOCX, the way GRID's is for XLSX. A couple of small JavaScript libraries turn DOCX into PDF without a desktop suite. However you slice it, 430 MB of LibreOffice in a client is a kludge. Calculate it right AI is about to write more spreadsheets than people ever did. Those files will be opened in Excel, sent to clients and used for decisions, and Excel is where the numbers are checked. If an agent's model shows one figure and the same file shows another in Excel, the user doesn't conclude that LibreOffice and Excel differ on a corner case. They conclude the AI got it wrong. They start rechecking every number, and they stop trusting the next model before they open it. One wrong cell is enough to spend the trust that was supposed to save them the work. The GRID engine calculates the way Excel does, in milliseconds, without an office suite attached. The benchmark and its harness are open, so check the numbers. If you build agents that write spreadsheets, talk to us.

13.11.2026

Why you shouldn't vibe code a spreadsheet engine

Some of what Excel does is just weird. And unless you've spent years building a spreadsheet engine, you probably have no idea just how weird.

Visit our blog

Spreadsheets run the world

We run spreadsheets

2026 GRID

Developers

Get startedDocumentationLicensingGRID Labs

About us

CompanyCareersBlogContact us

Legal

SecurityPrivacy Policy
Press kit
Press kit

2026 GRID