#What the Calculator API does
The Calculator API provides 4 endpoints for accessing 135+ online calculators: evaluate formulas with unit conversion, list and search calculators, and get complete formula definitions — all via simple POST requests.
#Endpoints at a glance
| Endpoint | What it does | Credits |
|---|---|---|
POST /v1/calculator/calculate |
Evaluate a calculator formula with inputs and unit conversion | 0.001 |
POST /v1/calculator/list |
List all calculators, optionally filtered by category | FREE |
POST /v1/calculator/info |
Get full formula definition, inputs, outputs, and unit groups | FREE |
POST /v1/calculator/search |
Search calculators by keyword across all categories | FREE |
#Available categories
135 calculators are organized into 16 categories:
| Category | Slug | Count | Examples |
|---|---|---|---|
| Finance | finance | 14 | Percentage, Mortgage, Compound Interest, ROI, CAGR |
| Salary & Tax | salary-tax | 10 | Gross/Net, VAT, Tip, Discount, Margin, Retirement |
| Health & Fitness | health | 12 | BMI, Calories (TDEE), BMR, Body Fat, Protein |
| Pregnancy | pregnancy | 5 | Due Date, Ovulation, Period, Fertility Window |
| Math | math | 10 | Fraction, Quadratic Formula, GPA, Logarithm |
| Conversion | conversion | 10 | Weight, Length, Temperature, Speed, Pressure |
| Time & Date | time-date | 7 | Age, Days Between Dates, Countdown, Time Zone |
| Construction | construction | 9 | Concrete, Brick, Tile, Paint, Roofing |
| Automotive | automotive | 8 | Fuel Cost, Tire Size, Horsepower, 0-100 km/h |
| Physics | physics | 8 | Free Fall, Force, Kinetic Energy, Projectile Motion |
| Chemistry | chemistry | 7 | Molar Mass, pH, Dilution, Percent Yield |
| Biology | biology | 6 | Punnett Square, DNA, Bacteria Growth |
| Statistics | statistics | 8 | Std Deviation, Confidence Interval, Z-Score |
| Food & Cooking | food | 8 | Pizza, Coffee, Grams to Cups, Recipe Scaler |
| Sports | sports | 7 | Calories Burned, Pace, Marathon, VO2 Max |
| Fun & Viral | fun | 6 | Love Compatibility, Lucky Number, Zodiac |
#How the formula system works
Each calculator stores its formula as a JSON definition with inputs, outputs, unit groups, and constants. The formula engine supports arithmetic, ternary expressions, and built-in math functions (sqrt, sin, cos, log, pow, min, max, etc.).
Use the info endpoint to retrieve the complete formula definition for any
calculator. You can then evaluate it server-side via the calculate endpoint,
or implement client-side evaluation using the same expression language.
#Multilingual support
All 135 calculators are translated into 30 languages: English, Bulgarian, Spanish, German, French, Italian, Portuguese, Russian, Polish, Dutch, Turkish, Czech, Romanian, Hungarian, Ukrainian, Swedish, Danish, Finnish, Norwegian, Greek, Arabic, Hebrew, Japanese, Korean, Chinese (Simplified & Traditional), Thai, Vietnamese, Indonesian, and Malay.
Use the locale parameter on the list, info, and
search endpoints to get translated titles, descriptions, input/output labels,
and educational content.
#Common use cases
- Embedded calculators — add interactive calculators to your website or app
- Education platforms — provide step-by-step calculations for students
- Health & fitness apps — BMI, calorie, and body composition calculations
- Real estate tools — mortgage, loan, and amortization calculations
- Construction estimators — material quantity and cost calculators
- Chatbots & AI assistants — answer calculation questions programmatically
- Comparison tools — evaluate multiple scenarios with different inputs
#Try it live
All 135 calculators are available for free on calculator.yeb.to. Each calculator has an interactive widget, educational article, FAQ section, and SEO-optimized pages in 30 languages. The web app uses the same formula engine as the API.