Well it kinda does via spotlight that you type out to get a result but not as a calculator app.I’m so embarrassed, I didn’t even realize it didn’t have one after all these years 😂

Your iPad Has a Hidden Built-in Calculator You're Not Using — Here's How to Unlock It
There is no iPad version of Apple's Calculator app (at least, not yet), so you won't find it on your Home Screen, in your App Library, or as a shortcut in the Control Center. But that doesn't mean your iPad doesn't have an official calculator. Before the first iPad in 2010, Apple's development...

That method also works for MacOS with spotlight, but it has a calculator just as iOS does.