Calculator API — 135+ Online Calculators | YEB

135+ online calculators via REST API. Finance, health, math, construction, physics and more. Evaluate formulas, search calculators, get definitions.

Try it live

All 135 calculators are available for free on the web app:

Open calculator.yeb.to
135+ calculators
Finance, health, math, construction, physics, chemistry, biology, statistics, and more.
16 categories
Organized by topic for easy discovery and integration.
30 languages
Translated titles, descriptions, and input/output labels.
99.9 % Διαθεσιμότητα
7ms Απάντηση
20 req/s
0.001 Πιστωτικές μονάδες / αίτημα

Calculate


POST https://api.yeb.to/v1/calculator/calculate
ΠαράμετροςΤύποςΑπαιτ.Περιγραφή
api_key string ναι Your API key
calculator_id integer ναι ID of the calculator to evaluate
inputs object ναι Input values as key-value pairs (e.g. {"length": 10, "width": 5})
units object προαιρ. Selected units per input/output (e.g. {"length": "m", "area": "m2"})

Παράδειγμα

curl -X POST https://api.yeb.to/v1/calculator/calculate \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "calculator_id": 1,
  "inputs": {
    "value": 200,
    "percentage": 15
  },
  "units": {}
}'

Παράδειγμα απάντησης

{
  "calculator_id": 1,
  "calculator_slug": "percentage",
  "results": {
    "result": {
      "value": 30,
      "unit": null
    },
    "inverse": {
      "value": 7.5,
      "unit": null
    }
  },
  "credits_spent": 0.001,
  "credits_left": 99.99,
  "response_code": 200,
  "response_time_ms": 12
}
{
  "error": "Calculator not found",
  "response_code": 404,
  "response_time_ms": 3
}

Κωδικοί απάντησης

ΚωδικόςΠεριγραφή
200 SuccessΤο αίτημα επεξεργάστηκε επιτυχώς.
400 Bad RequestΗ επικύρωση εισόδου απέτυχε.
401 UnauthorizedΚλειδί API λείπει ή είναι λάθος.
403 ForbiddenΚλειδί ανενεργό ή μη επιτρεπόμενο.
429 Rate LimitΠάρα πολλά αιτήματα.
500 Server ErrorΜη αναμενόμενο σφάλμα.

Calculate

calculator/calculate 0.0010 credits

Parameters

API Key
body · string · required
Calculator ID
body · string · required
Inputs
body · string · required
Units
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

List Calculators


POST https://api.yeb.to/v1/calculator/list
ΠαράμετροςΤύποςΑπαιτ.Περιγραφή
api_key string ναι Your API key
category string προαιρ. Filter by category slug (e.g. "finance", "health", "math")
locale string προαιρ. Language code for translated titles (default: en)
limit integer προαιρ. Max results, 1–100 (default: 50)
offset integer προαιρ. Skip N results for pagination (default: 0)

Παράδειγμα

curl -X POST https://api.yeb.to/v1/calculator/list \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "category": "finance",
  "locale": "en",
  "limit": 5
}'

Παράδειγμα απάντησης

{
  "total": 14,
  "offset": 0,
  "limit": 5,
  "calculators": [
    {
      "id": 1,
      "slug": "percentage",
      "title": "Percentage Calculator",
      "short_description": "Calculate what X% of Y is.",
      "category": "finance"
    },
    {
      "id": 2,
      "slug": "percentage-change",
      "title": "Percentage Change Calculator",
      "short_description": "Calculate percentage change between two values.",
      "category": "finance"
    }
  ],
  "credits_spent": 0,
  "credits_left": 100,
  "response_code": 200,
  "response_time_ms": 8
}
{
  "error": "Invalid limit parameter",
  "response_code": 400,
  "response_time_ms": 2
}

Κωδικοί απάντησης

ΚωδικόςΠεριγραφή
200 SuccessΤο αίτημα επεξεργάστηκε επιτυχώς.
400 Bad RequestΗ επικύρωση εισόδου απέτυχε.
401 UnauthorizedΚλειδί API λείπει ή είναι λάθος.
403 ForbiddenΚλειδί ανενεργό ή μη επιτρεπόμενο.
429 Rate LimitΠάρα πολλά αιτήματα.
500 Server ErrorΜη αναμενόμενο σφάλμα.

List Calculators

calculator/list 0.0000 credits

Parameters

API Key
body · string · required
Category
body · string
Locale
body · string
Limit
body · string
Offset
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Calculator Info


POST https://api.yeb.to/v1/calculator/info
ΠαράμετροςΤύποςΑπαιτ.Περιγραφή
api_key string ναι Your API key
slug string προαιρ. Calculator slug (e.g. "bmi", "mortgage")
calculator_id integer προαιρ. Calculator ID (alternative to slug)
locale string προαιρ. Language code (default: en)

Παράδειγμα

curl -X POST https://api.yeb.to/v1/calculator/info \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "slug": "bmi"
}'

Παράδειγμα απάντησης

{
  "id": 25,
  "slug": "bmi",
  "title": "BMI Calculator",
  "short_description": "Calculate your Body Mass Index.",
  "formula": {
    "inputs": [
      {"key": "weight", "type": "number", "default": 70, "unit_group": "mass", "default_unit": "kg"},
      {"key": "height", "type": "number", "default": 175, "unit_group": "height", "default_unit": "cm"}
    ],
    "outputs": [
      {"key": "bmi", "expression": "weight / (height * height)", "precision": 1},
      {"key": "category", "expression": "..."}
    ],
    "unit_groups": {
      "mass": {"kg": 1, "lb": 0.453592},
      "height": {"m": 1, "cm": 0.01, "in": 0.0254}
    }
  },
  "input_labels": {"weight": "Weight", "height": "Height"},
  "output_labels": {"bmi": "Your BMI", "category": "Category"},
  "category": {"slug": "health", "name": "Health & Fitness"},
  "credits_spent": 0,
  "response_code": 200
}
{
  "error": "Calculator not found",
  "response_code": 404,
  "response_time_ms": 3
}

Κωδικοί απάντησης

ΚωδικόςΠεριγραφή
200 SuccessΤο αίτημα επεξεργάστηκε επιτυχώς.
400 Bad RequestΗ επικύρωση εισόδου απέτυχε.
401 UnauthorizedΚλειδί API λείπει ή είναι λάθος.
403 ForbiddenΚλειδί ανενεργό ή μη επιτρεπόμενο.
429 Rate LimitΠάρα πολλά αιτήματα.
500 Server ErrorΜη αναμενόμενο σφάλμα.

Calculator Info

calculator/info 0.0000 credits

Parameters

API Key
body · string · required
Slug
body · string
Calculator ID
body · string
Locale
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Search Calculators


POST https://api.yeb.to/v1/calculator/search
ΠαράμετροςΤύποςΑπαιτ.Περιγραφή
api_key string ναι Your API key
query string ναι Search query (minimum 2 characters)
locale string προαιρ. Language code (default: en)
limit integer προαιρ. Max results, 1–50 (default: 20)

Παράδειγμα

curl -X POST https://api.yeb.to/v1/calculator/search \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "query": "mortgage",
  "locale": "en",
  "limit": 5
}'

Παράδειγμα απάντησης

{
  "query": "mortgage",
  "results": [
    {
      "id": 5,
      "slug": "mortgage",
      "title": "Mortgage Calculator",
      "short_description": "Calculate monthly mortgage payment, total interest, and total amount paid.",
      "category": "finance"
    },
    {
      "id": 9,
      "slug": "amortization",
      "title": "Amortization Calculator",
      "short_description": "See how each payment splits between principal and interest.",
      "category": "finance"
    }
  ],
  "credits_spent": 0,
  "response_code": 200,
  "response_time_ms": 15
}
{
  "error": "Query must be at least 2 characters",
  "response_code": 400,
  "response_time_ms": 2
}

Κωδικοί απάντησης

ΚωδικόςΠεριγραφή
200 SuccessΤο αίτημα επεξεργάστηκε επιτυχώς.
400 Bad RequestΗ επικύρωση εισόδου απέτυχε.
401 UnauthorizedΚλειδί API λείπει ή είναι λάθος.
403 ForbiddenΚλειδί ανενεργό ή μη επιτρεπόμενο.
429 Rate LimitΠάρα πολλά αιτήματα.
500 Server ErrorΜη αναμενόμενο σφάλμα.

Search Calculators

calculator/search 0.0000 credits

Parameters

API Key
body · string · required
Query
body · string · required
Locale
body · string
Limit
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Calculator API — 135+ Online Calculators | YEB — Practical Guide

A hands-on guide to the Calculator API: 135+ online calculators across 16 categories, formula evaluation with unit conversion, multilingual support in 30 languages, and how to integrate it all into your application.

#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:

CategorySlugCountExamples
Financefinance14Percentage, Mortgage, Compound Interest, ROI, CAGR
Salary & Taxsalary-tax10Gross/Net, VAT, Tip, Discount, Margin, Retirement
Health & Fitnesshealth12BMI, Calories (TDEE), BMR, Body Fat, Protein
Pregnancypregnancy5Due Date, Ovulation, Period, Fertility Window
Mathmath10Fraction, Quadratic Formula, GPA, Logarithm
Conversionconversion10Weight, Length, Temperature, Speed, Pressure
Time & Datetime-date7Age, Days Between Dates, Countdown, Time Zone
Constructionconstruction9Concrete, Brick, Tile, Paint, Roofing
Automotiveautomotive8Fuel Cost, Tire Size, Horsepower, 0-100 km/h
Physicsphysics8Free Fall, Force, Kinetic Energy, Projectile Motion
Chemistrychemistry7Molar Mass, pH, Dilution, Percent Yield
Biologybiology6Punnett Square, DNA, Bacteria Growth
Statisticsstatistics8Std Deviation, Confidence Interval, Z-Score
Food & Cookingfood8Pizza, Coffee, Grams to Cups, Recipe Scaler
Sportssports7Calories Burned, Pace, Marathon, VO2 Max
Fun & Viralfun6Love 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.

Συχνές Ερωτήσεις

135+ calculators across 16 categories: finance (percentage, mortgage, compound interest, ROI), health (BMI, calories, body fat), math (quadratic formula, logarithm), construction (concrete, brick, tile), physics (free fall, kinetic energy), chemistry (molar mass, pH), and more.

The Calculate endpoint costs 0.001 credits per request. List, Info, and Search endpoints are completely free. Sign up to get free credits.

All 135 calculators are translated into 30 languages including English, Spanish, German, French, Bulgarian, Russian, Japanese, Chinese, Arabic, and more. Use the locale parameter to get translated content.

Yes! Use the Info endpoint with a calculator slug to get the complete formula definition including inputs, outputs, expressions, unit groups, and constants. You can evaluate formulas client-side or via the Calculate endpoint.

Each calculator defines unit groups with conversion factors. When you send a units parameter with your Calculate request, inputs are automatically converted to base units before evaluation, and outputs are converted to your selected display units.

Ναι. Κάθε αίτημα, ακόμα και αυτά που καταλήγουν σε σφάλμα, καταναλώνει πιστωτικές μονάδες. Οι πιστωτικές μονάδες σας συνδέονται με τον αριθμό αιτημάτων, ανεξάρτητα από επιτυχία ή αποτυχία. Εάν το σφάλμα οφείλεται σαφώς σε πρόβλημα της πλατφόρμας από τη δική μας πλευρά, θα αποκαταστήσουμε τις επηρεαζόμενες πιστωτικές μονάδες (χωρίς επιστροφή χρημάτων).

Επικοινωνήστε μαζί μας στο [email protected]. Λαμβάνουμε τα σχόλια σοβαρά—εάν η αναφορά σφάλματος ή το αίτημα λειτουργίας είναι ουσιαστικό, μπορούμε να διορθώσουμε ή να βελτιώσουμε το API γρήγορα και να σας χορηγήσουμε 50 δωρεάν πιστωτικές μονάδες ως ευχαριστώ.

Εξαρτάται από το API και μερικές φορές ακόμα και από το endpoint. Ορισμένα endpoints χρησιμοποιούν δεδομένα από εξωτερικές πηγές, που μπορεί να έχουν αυστηρότερα όρια. Επιβάλλουμε επίσης όρια για να αποτρέψουμε κατάχρηση και να διατηρήσουμε την πλατφόρμα μας σταθερή. Ελέγξτε την τεκμηρίωση για το συγκεκριμένο όριο κάθε endpoint.

Λειτουργούμε με σύστημα πιστωτικών μονάδων. Οι πιστωτικές μονάδες είναι προπληρωμένες, μη επιστρέψιμες μονάδες που ξοδεύετε σε κλήσεις API και εργαλεία. Καταναλώνονται με τη μέθοδο FIFO (παλαιότερες πρώτα) και ισχύουν για 12 μήνες από την ημερομηνία αγοράς. Ο πίνακας ελέγχου δείχνει κάθε ημερομηνία αγοράς και τη λήξη της.

Ναι. Όλες οι αγορασμένες πιστωτικές μονάδες (συμπεριλαμβανομένων κλασματικών υπολοίπων) ισχύουν για 12 μήνες από την αγορά. Οι αχρησιμοποίητες πιστωτικές μονάδες λήγουν αυτόματα και διαγράφονται μόνιμα στο τέλος της περιόδου ισχύος. Οι ληγμένες πιστωτικές μονάδες δεν μπορούν να αποκατασταθούν ή να μετατραπούν σε μετρητά ή άλλη αξία. Μεταβατικός κανόνας: πιστωτικές μονάδες που αγοράστηκαν πριν τις 22 Σεπ. 2025 θεωρούνται αγορασμένες στις 22 Σεπ. 2025 και λήγουν στις 22 Σεπ. 2026 (εκτός αν αναφέρθηκε νωρίτερη λήξη κατά την αγορά).

Ναι—εντός της περιόδου ισχύος τους. Οι αχρησιμοποίητες πιστωτικές μονάδες παραμένουν διαθέσιμες και μεταφέρονται από μήνα σε μήνα μέχρι να λήξουν 12 μήνες μετά την αγορά.

Οι πιστωτικές μονάδες είναι μη επιστρέψιμες. Αγοράστε μόνο ό,τι χρειάζεστε—μπορείτε πάντα να αναπληρώσετε αργότερα. Εάν ένα σφάλμα πλατφόρμας προκαλέσει αποτυχημένη χρέωση, μπορούμε να αποκαταστήσουμε τις επηρεαζόμενες πιστωτικές μονάδες μετά από έρευνα. Καμία επιστροφή χρημάτων.

Οι τιμές ορίζονται σε πιστωτικές μονάδες, όχι σε δολάρια. Κάθε endpoint έχει το δικό του κόστος—δείτε το σήμα «Πιστωτικές μονάδες / αίτημα» παραπάνω. Θα ξέρετε πάντα ακριβώς τι ξοδεύετε.
← Πίσω στα API