Of course it doesn't.
"The windows 10 calculator doesn't NEED to take up 39MB..".
One of the very best, very small Spreadsheet Programs, called Gnumeric, .--takes about 30 MB !
From Jack Germain, "Gnumeric Crunches Numbers Like a Pro", https://www.linuxinsider.com/story/Gnumeric-Crunches-Numbers-Like-a-Pro-76605.html
..."The bottom line regarding match computations with Gnumeric is that this spreadsheet app gets the same answers as its competitors, but does so faster....
"...Gnumeric is more than a simple and limited calculation program. It is a fully-functional spreadsheet capable of manipulating and analyzing numeric data. Its uses include keeping track of information in lists and organizing numeric values in columns.
“While it is defined by developers as lightweight, Gnumeric is not short on features. For example, it offers 100 percent of the worksheet functions in Microsoft Excel, plus it has 154 functions not found in that commercial business spreadsheet.
"It also comes with basic support for financial derivatives (Black Scholes) and for telecommunication engineering. It is adept at handling analytics and advanced statistical analysis. If you need it, this app can implement complex optimization modeling or perform tasks involving numbers, dates, times, names or other data.
Gnumeric handles extensive random number generation and performs and updates complex calculations by defining each step of the calculation and modifying particular steps subsequently. Also, it can create and display or print graphical plots of data using bar plots, line graphs, pie charts or radar charts....(--J.G.}
One can read the entire article here.
One of the very many qualities of Gnumeric is its extremely rich ensemble of Statistical Functions. Included, for example, is Fourier Analysis !