math.js web service
FreeLiveLast verified 29 Sept 2026
Evaluates maths expressions, unit conversions, matrices and complex numbers from a URL-encoded string.
Example request
curl -s 'https://api.mathjs.org/v4/?expr=2*(7-3)'
Free tier, in plain English
Free with no key, up to 10,000 requests a day. Each evaluation is cut off after 10 seconds.
Alternatives in Math
NewtonComputes math expressions: simplify, factor, derive, integrate, zeroes, trig functions.FreeTallytopia73 deterministic calculators (finance, health, math, space, sports) as JSON, with step-by-step working.Free
All 3 Math APIs →