I've had some success converting spreadsheets to web calculators with Knockout.js, which is very old, probably not maintained anymore, but very easy (no build step) to use and reactive.
That said, to convert spreadsheet formulas (which often depend one from another) look for something reactive. Svelte might be a good choice if you can figure out its model of reactivity.