Calcgrid: 737 calculators with HTML, Markdown, JSON API, MCP and A2A access
Open deterministic calculation and evidence-data engine for AI agents and people: finance, loans, health, fitness, math, statistics, unit conversion, pinned IANA time-zone rules, science and engineering, plus source-traceable mainland China working days and official UK bank holidays, lunar calendar and solar terms; available as HTML, Markdown, JSON API, MCP and A2A. Every calculator is a documented, deterministic formula available as a web page, a Markdown document, a JSON API endpoint, an MCP tool and an A2A skill. No authentication is required for any calculation.
What this site provides
- 737 calculators in 25 categories (finance, health, sports & fitness, math, geometry, statistics & probability, unit conversion, physics, chemistry, everyday life, food & cooking, construction & home, business & marketing, time & geography, medical & clinical, engineering & automotive, weather & environment, investing & real estate, developer & it, home energy & electrical, photography & optics, biology, earth & space, games & betting math, chinese calendar, i ching & five elements), plus 374 unit-conversion pages (km to miles, kg to lbs, °C to °F, …).
- Structured results: every response carries inputs, outputs with units, the formula, sources, freshness, timestamp and suggested next actions.
- Three access modes for agents: REST API (
/api/v1), MCP server (/mcp) and A2A agent (/a2a), all described in OpenAPI, ARD and the Agent Card.
High-value tasks for AI agents
These balanced starting points show the breadth of Calcgrid while keeping differentiated data capabilities easy to find. Detailed capabilities retain explicit selection boundaries, example prompts and direct typed MCP tools. View the full agent capability guide or read machine-readable JSON.
- Popular everyday calculations
Start with Mortgage Payment · BMI · Percentage · Temperature · Date Difference, or browse the complete catalog. - Auditable fixed-rate loan calculations and comparisons
Calculate one fully amortizing fixed-rate loan or compare two offers side by side, including monthly payments, total interest, up-front fees and lifetime cost. - Pinned IANA tzdb 2026d resolution, transitions and conversion
Resolve repeated or nonexistent wall times, list offset transitions, and convert between named zones using a fixed IANA tzdb 2026d evidence package with release URL and SHA-256. - Global weekday baseline and official work calendars
CLDR territory weekend rules provide a worldwide weekday baseline; the broad OpenWorkdays national-scope reference, clearly labelled OpenHolidays nationwide reference, source-traceable mainland China 调休, official UK bank holidays by division, lunar-calendar conversion and 24 solar terms remain separate evidence-backed capabilities.
Worldwide weekday baseline · Broad global reference · OpenHolidays reference · China working days · UK working days · Lunar dates and solar terms
Compatible browser agents can discover 24 read-only site tools on this page through WebMCP. Other clients can use the same tools through the public MCP server.
Capabilities by category
- Finance (46) — Interest, loans, mortgages, savings, returns, taxes, discounts and business margins.
- Health (24) — Body metrics and nutrition: BMI, BMR, TDEE, body fat, ideal weight, macros, hydration, heart-rate zones, due date.
- Sports & Fitness (27) — Pace, race-time prediction, calories burned, one-rep max, VO2 max, steps and cycling.
- Math (38) — Percentages, algebra, number theory, sequences, fractions, exponents, logarithms and rounding.
- Geometry (14) — Area, perimeter, volume and surface area of 2D and 3D shapes; right-triangle solver.
- Statistics & Probability (30) — Descriptive statistics, z-scores, normal and binomial probability, confidence intervals, sample size, regression.
- Unit Conversion (20) — Length, mass, temperature, area, volume, speed, time, data, energy, pressure, power, angle, fuel economy and more.
- Physics (25) — Kinematics, forces, energy, momentum, electricity, waves, gravitation, thermodynamics.
- Chemistry (24) — Molar mass, moles, molarity, dilution, ideal gas law, pH, half-life, percent yield.
- Everyday Life (247) — Dates, ages, countdowns, trip fuel cost, electricity cost, tips, unit prices, grades, reading time, sleep.
- Food & Cooking (21) — Recipe scaling, cooking unit conversion, coffee ratio, calories from macros, dough and brine calculations.
- Construction & Home (25) — Flooring, paint, concrete, tiles, roof pitch, stairs, gravel, drywall, fencing and decking estimates.
- Business & Marketing (18) — Advertising metrics (CPM, CPC, CTR, ROAS, RPM revenue), A/B test significance, CAC/LTV, churn, marketplace and payment fees, burn rate, freelance rates, inventory.
- Time & Geography (14) — Time-zone conversion, Unix timestamps, distance and bearing between coordinates, sunrise and sunset, moon phase, Easter, Julian dates, countdowns.
- Medical & Clinical (26) — Published clinical formulas and scores: eGFR, creatinine clearance, LDL, anion gap, corrected calcium and sodium, A1C, QTc, MELD, CHA₂DS₂-VASc, Wells, fluids, drip rates, unit conversions. Informational only.
- Engineering & Automotive (25) — Electronics (LED resistor, voltage divider, resistor colour code, RC, LC), batteries, wire voltage drop, solar output, decibels, horsepower and torque, stopping distance, engine and tire geometry, gear ratios.
- Weather & Environment (9) — Heat index, wind chill, dew point, relative humidity, air density, pressure altitude, boiling point at altitude, carbon footprint of driving and electricity.
- Investing & Real Estate (19) — Option pricing (Black-Scholes), CAPM, Sharpe ratio, portfolio risk, DCF and dividend valuation, WACC, bond duration, cap rate, cash-on-cash return, rental yield, mortgage affordability, position sizing, drawdown.
- Developer & IT (15) — IPv4 subnetting, bitwise and two's-complement arithmetic, IEEE-754 floats, cron schedules, Unix permissions, hashes, Base64 size, string similarity, LLM memory and token cost, bandwidth-delay product, audio file size, CSS units, semantic versions, colour contrast.
- Home Energy & Electrical (12) — HVAC BTU sizing, heat loss through walls, room lighting, circuit load and breaker sizing, EV charging time and running cost, fuel versus electric cost, solar payback, rainwater harvesting, water heating energy, generator sizing, ventilation.
- Photography & Optics (12) — Depth of field, hyperfocal distance, field of view, crop factor, exposure value and equivalent exposures, ND filters, megapixels and print size, telescope magnification, image file size, time-lapse, flash guide number.
- Biology, Earth & Space (14) — Punnett squares, Hardy-Weinberg, population growth, carbon dating, earthquake magnitude and energy, weight on other planets, orbital period, escape velocity, centrifuge RCF, cell counting and doubling time, enzyme kinetics, PCR primer Tm, DNA concentration.
- Games & Betting Math (8) — Odds conversion, parlay and hedge bets, arbitrage, expected value, Kelly criterion, poker outs and Elo ratings — probability mathematics, not tips.
- Chinese Calendar (13) — Chinese lunisolar calendar (农历) conversion, 24 solar terms (节气), sexagenary stems and branches (干支), zodiac (生肖), lunar festivals, Bazi four pillars (八字), almanac day qualities (黄历) and era/calendar conversions — computed astronomically for Beijing time and checked against Hong Kong Observatory tables.
- I Ching & Five Elements (11) — Eight trigrams (八卦), the 64 hexagrams (六十四卦) with changing lines, Plum Blossom numerology (梅花易数), Liu Yao coin-oracle charts (六爻), five-element relations (五行生克), stem/branch relations, Ming Gua / Eight Mansions (命卦), Luo Shu and name numerology — structured reference calculations, not predictions.
Machine access
| Surface | URL | Purpose |
|---|---|---|
| Documentation | /docs/index.md | Index of all capabilities in Markdown; each calculator also has /<category>/<id>.md. |
| REST API | /api/v1 | GET /api/v1/calculate/{calculator_id}?input=value; list, search and schema endpoints. |
| Global CLDR weekday baseline | /api/v1/data/global-working-day | Pinned territory weekend conventions for a worldwide weekday baseline; public holidays are intentionally excluded. |
| Global public-holiday reference | /api/v1/data/global-public-holidays | OpenHolidays nationwide public-holiday reference for supported countries; ODbL provenance, no direct-authority claim and no substitute-day inference. |
| Working-day calendar selection | /api/v1/data/working-day-calendars | Routes agents to verified jurisdiction packages or the explicitly limited global weekday baseline. |
| China work-calendar data | /api/v1/data/china-work-calendar | Versioned full-year working-day records, 调休 exceptions and official State Council provenance. |
| UK bank-holiday data | /api/v1/data/uk-bank-holidays | Pinned GOV.UK bank holidays and full-year working-day records for England and Wales, Scotland and Northern Ireland, with source hash and OGL attribution. |
| IANA time-zone evidence data | /api/v1/data/iana-tzdb | Pinned tzdb release, official artifact SHA-256, license, coverage and supported named-zone identifiers. |
| OpenAPI 3.1 | /openapi.json | Every endpoint with parameters, types, examples, error codes and rate limits. |
| MCP server | /mcp | Streamable HTTP, JSON-RPC 2.0, no auth. tools/list exposes all 253 callable read-only tools. |
| A2A agent | /a2a | JSON-RPC message/send and tasks/get; skills listed in the Agent Card. |
| llms.txt | /llms.txt | Plain-text overview for language models; /llms-full.txt includes all calculator docs. |
| ARD | /.well-known/ard.json | Agentic Resource Discovery manifest (MCP server, A2A agent, OpenAPI). |
| Agent Card | /.well-known/agent-card.json | A2A protocol agent description with skills. |
| AI plugin manifest | /.well-known/ai-plugin.json | Legacy-compatible OpenAPI discovery descriptor for clients that still look for an AI plugin manifest. |
| Sitemap | /sitemap.xml | All HTML and Markdown pages. |
Example
curl "https://tttkmbb.com/api/v1/calculate/bmi?weight_kg=70&height_cm=175"
{"success":true,"request":{"tool":"calculate_bmi","calculator_id":"bmi","inputs":{"weight_kg":70,"height_cm":175}},
"result":{"entity_type":"calculation","status":"completed","values":{"bmi":22.86,"category":"Normal weight",...},"units":{"bmi":"kg/m²"},"formula":"BMI = weight_kg / (height_cm / 100)²"},
"sources":[{"name":"WHO – ...","url":"https://..."}],"freshness":{"type":"static"},"timestamp":"2026-09-23T07:20:14Z","next_actions":[{"tool":"calculate_bmr","reason":"..."}]}
Featured tools (dedicated MCP tools)
- Compound Interest Calculator —
calculate_compound_interest - Loan Payment Calculator —
calculate_loan_payment - Mortgage Payment Calculator —
calculate_mortgage_payment - Tip Calculator —
calculate_tip - Amortization Schedule Calculator —
calculate_amortization_schedule - Loan Comparison Calculator —
compare_loans - BMI Calculator —
calculate_bmi - BMR Calculator —
calculate_bmr - TDEE Calculator —
calculate_tdee - Running Pace Calculator —
calculate_running_pace - Percentage Calculator —
calculate_percentage - Percentage Change Calculator —
calculate_percentage_change - Quadratic Equation Solver —
solve_quadratic_equation - Fraction Calculator —
calculate_fraction_arithmetic - Circle Calculator —
calculate_circle_properties - Descriptive Statistics Calculator —
calculate_descriptive_statistics - T-Test Calculator —
calculate_t_test - Temperature Converter —
convert_temperature - Kinetic Energy Calculator —
calculate_kinetic_energy - Ohm's Law Calculator —
solve_ohms_law - Molar Mass Calculator —
calculate_molar_mass - Age Calculator —
calculate_age - Date Difference Calculator —
calculate_date_difference - Mainland China Working Day Checker —
check_china_working_day - Add Mainland China Working Days —
add_china_working_days - Mainland China Working Days Between Dates —
count_china_working_days - UK Working Day Checker —
check_uk_working_day - Add UK Working Days —
add_uk_working_days - UK Working Days Between Dates —
count_uk_working_days - Global Working Day Baseline —
check_global_working_day - Add Global Working Days —
add_global_working_days - Global Working Days Between Dates —
count_global_working_days - Global Public-Holiday Working Day Reference —
check_global_public_holiday_working_day - Add Global Public-Holiday Reference Working Days —
add_global_public_holiday_working_days - Count Global Public-Holiday Reference Working Days —
count_global_public_holiday_working_days - Global Working Day Reference —
check_global_reference_working_day - Add Global Reference Working Days —
add_global_reference_working_days - Count Global Reference Working Days —
count_global_reference_working_days - Singapore Official Public-Holiday Working Day —
check_singapore_working_day - Add Singapore Official Working Days —
add_singapore_working_days - Count Singapore Official Working Days —
count_singapore_working_days - Australia State/Territory Public-Holiday Working Day —
check_australia_working_day - Add Australia State/Territory Working Days —
add_australia_working_days - Count Australia State/Territory Working Days —
count_australia_working_days - US Federal Holiday Working Day —
check_us_federal_working_day - Add US Federal Working Days —
add_us_federal_working_days - Count US Federal Working Days —
count_us_federal_working_days - Canada Federal General-Holiday Working Day —
check_canada_federal_working_day - Add Canada Federal Working Days —
add_canada_federal_working_days - Count Canada Federal Working Days —
count_canada_federal_working_days - Japan National Holiday Working Day —
check_japan_national_working_day - Add Japan National Working Days —
add_japan_national_working_days - Count Japan National Working Days —
count_japan_national_working_days - India Central Government Working Day —
check_india_central_working_day - Add India Central Government Working Days —
add_india_central_working_days - Count India Central Government Working Days —
count_india_central_working_days - UAE Federal Government Working Day —
check_uae_federal_working_day - Add UAE Federal Government Working Days —
add_uae_federal_working_days - Count UAE Federal Government Working Days —
count_uae_federal_working_days - New Zealand Working Day —
check_new_zealand_working_day - Add New Zealand Working Days —
add_new_zealand_working_days - Count New Zealand Working Days —
count_new_zealand_working_days - South Africa Working Day —
check_south_africa_working_day - Ireland Working Day —
check_ireland_working_day - Türkiye Statutory Public-Holiday Working Day —
check_turkey_working_day - Add Türkiye Statutory Working Days —
add_turkey_working_days - Count Türkiye Statutory Working Days —
count_turkey_working_days - Uzbekistan Working Day —
check_uzbekistan_working_day - Malaysia Division Public-Holiday Working Day —
check_my_working_day - Add Malaysia Division Working Days —
add_my_working_days - Count Malaysia Division Working Days —
count_my_working_days - Cross-Border Business Hours Deadline —
calculate_business_deadline - A/B Test Significance Calculator —
calculate_ab_test_significance - IANA Local Time Resolver —
resolve_local_time - IANA Time Zone Transition List —
list_time_zone_transitions - Time Zone Converter —
convert_time_zone - Haversine Distance Calculator —
calculate_haversine_distance - Black-Scholes Option Calculator —
price_black_scholes_option - IP Subnet Calculator —
calculate_subnet - EV Charging Time Calculator —
estimate_ev_charging_time - Depth of Field Calculator —
calculate_depth_of_field - Odds Converter —
convert_betting_odds - Lunar Calendar Converter (农历) —
convert_solar_to_lunar - Lunar to Solar Date Converter —
convert_lunar_to_solar - 24 Solar Terms Calculator (二十四节气) —
list_solar_terms - Chinese Zodiac Calculator (生肖) —
find_chinese_zodiac - Bazi Four Pillars (八字) —
calculate_bazi_four_pillars - I Ching Hexagram Lookup (六十四卦) —
lookup_iching_hexagram - Plum Blossom Numerology (梅花易数) —
cast_plum_blossom_hexagram
Data sources and freshness
All calculators implement published formulas (WHO, NIST, IUPAC, USDA, peer-reviewed papers and standard textbooks); the source list is attached to every calculator page and API response. The global CLDR weekday baseline, mainland China and UK working-day results and named-zone time calculations expose versioned evidence packages. Formula-based results are static (never stale); date calculators that default to "today" are marked freshness.type = "daily". No live market, weather or price data is used.