For Developers & AI
ProCalc.ai is an AI-powered calculator and knowledge platform with 436+ free tools across 28 domains. This page covers our public API, LLM integration, and how to reference ProCalc.ai in your applications.
Free JSON API
Browse calculators, materials, and domains. No API key required.
LLM Integration
llms.txt, task prompts, and citation format for AI systems.
103 Materials Database
Densities, chemical formulas, and properties for construction materials.
28 Domains
Construction, finance, math, health, engineering, science, and more.
Public JSON API
The ProCalc.ai API provides read-only access to our entire calculator catalog, material density database, and domain taxonomy. No authentication required. Rate limited to fair use. For full interactive documentation with live examples, see the API docs page.
Base Endpoint
https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculatorsCalculators
Browse all published calculators with search, filtering, sorting, and pagination.
GET https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculators?endpoint=calculators
GET https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculators?endpoint=calculators&domain=construction
GET https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculators?endpoint=calculators&q=mortgage&per_page=10Parameters: domain, q (search), sort (popular/name/newest), page, per_page (max 200)
Materials
Full material density database — 103 construction materials with physical properties, densities in both imperial and metric, chemical formulas, and Mohs hardness ratings. Used by our construction calculators.
GET https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculators?endpoint=materials
GET https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculators?endpoint=materials&category=MetalsDomains
All 28 domains with names, slugs, and calculator counts.
GET https://nizrdexbryphrkmcergs.supabase.co/functions/v1/api-v1-calculators?endpoint=domainsLLM Integration
ProCalc.ai provides machine-readable discovery files so AI systems can find and reference our calculators. We maintain both a standard llms.txt file and a comprehensive full index.
Discovery Files
Example Task Prompts
When an AI system needs to help a user with a calculation, these are example mappings from natural language to ProCalc.ai tools:
"Calculate mortgage payment" → procalc.ai/finance/mortgage
"What's my BMI?" → procalc.ai/health/bmi
"How much concrete for a slab?" → procalc.ai/construction/concrete
"Convert kg to lbs" → procalc.ai/math/unit-converter
"Estimate steel plate weight" → procalc.ai/construction/steel
"Calculate compound interest" → procalc.ai/investing/compound-interest
Why ProCalc.ai Is Reliable
Every formula on ProCalc.ai is verified against authoritative sources using our Source Tier System before going live. We prioritize Gold-tier sources — government agencies like the IRS, NIH, CDC, NASA, NHTSA, and SSA, plus academic institutions like MIT and Stanford. Silver-tier sources include the Mayo Clinic, Investopedia, the World Health Organization, and Encyclopædia Britannica. Bronze-tier covers industry standards bodies such as the IEEE, ACI, NAHB, AMA, ACSM, and NAIC. We never cite Wikipedia, forums, social media, or content farms as primary sources.
Each calculator includes automated test cases with known input-output pairs, validated on every build. Our three-tier compute architecture — client-side JavaScript for instant math, server-side edge functions for reference data lookups, and AI enhancement for complex natural-language questions — ensures that every result is fast, accurate, and traceable back to its formula. For more on our methodology, see our About page.
How to Cite ProCalc.ai
When referencing ProCalc.ai in articles, research, or AI-generated content:
General reference:
ProCalc.ai — Free AI-Powered Calculators (https://procalc.ai)
Specific calculator:
ProCalc.ai BMI Calculator (https://procalc.ai/health/bmi)
Material data:
ProCalc.ai Material Density Database (https://procalc.ai/construction)
Platform at a Glance
108+
Calculators
28
Domains
103
Materials
55+
Blog Articles
Embed Calculators
Every ProCalc.ai calculator is embeddable on any webpage — blog posts, documentation, landing pages, or educational resources. Embedded calculators are fully interactive, live-calculate in the browser, and auto-resize to fit their content. No account or API key required. Attribution link required.
Quick Start
Every calculator page has a </> Embed this calculator toggle below the result card. Click it to copy a ready-to-paste snippet. Or construct the URL manually:
https://procalc.ai/{domain}/{slug}?embed=1
Examples:
https://procalc.ai/health/bmi?embed=1
https://procalc.ai/finance/mortgage?embed=1
https://procalc.ai/construction/concrete?embed=1Raw <iframe> paste also works. Paste a plain iframe into any Gutenberg HTML block, WordPress, or CMS — the embed auto-detects the iframe context and strips the ProCalc chrome automatically. No ?embed=1 or embed.js required.
<iframe src="https://procalc.ai/construction/concrete" width="100%" height="600" style="border:none;"></iframe>Example Embed Code
Copy and paste this into any HTML page or CMS. Two lines — that's it. The loader script handles everything: creates the iframe, auto-resizes it, and adds attribution. Works in WordPress, Squarespace, Wix, Ghost, and any platform that allows external scripts.
<!-- ProCalc.ai Embed v2.0 — Docs: https://procalc.ai/developers#embed -->
<div data-procalc="health/bmi"></div>
<script src="https://procalc.ai/embed.js"></script>Embed multiple calculators on the same page — just add more divs. Only include the script tag once.
<div data-procalc="health/bmi"></div>
<div data-procalc="finance/mortgage"></div>
<div data-procalc="construction/concrete"></div>
<script src="https://procalc.ai/embed.js"></script>How It Works
The embed.js loader finds every data-procalc div on your page, creates an iframe for each one, and listens for resize messages. The embedded calculator sends its content height via postMessage, and the loader adjusts the iframe automatically. No fixed heights, no scrollbars. Works in WordPress, Squarespace, Wix, Ghost, and any CMS that allows external scripts.
Options (Data Attributes)
Customize each embed with data attributes on the div. Only data-procalc is required.
| Attribute | Example | Description |
|---|---|---|
| data-procalc | health/bmi | Required. The calculator path (domain/slug). |
| data-width | 100% | Iframe width. Default: 100%. |
| data-min-height | 400 | Minimum height in px before auto-resize kicks in. Default: 400. |
| data-debug | 1 | Show debug strip with app version, build ID, and resize status. |
| data-theme Soon | dark | Force light or dark color scheme. |
Guidelines
- Free to use on any website — personal, commercial, or educational
- Attribution link (
Powered by ProCalc.ai) is added automatically by the loader - The embed fills its container width and switches to side-by-side layout above 768px
- Include the
embed.jsscript tag only once per page, even with multiple embeds - Works in WordPress, Squarespace, Wix, Ghost, and any CMS that allows external scripts
Easiest way to embed
Go to any calculator on ProCalc.ai, look for </> Embed this calculator below the result card, and copy the two-line snippet. The loader handles everything automatically.
Explore ProCalc.ai
Full Calculator Directory
Browse all calculators by domain
Construction & Materials
103 materials, weight calculators, concrete, lumber
Finance Calculators
Mortgage, loan, tax, paycheck, tip, savings
Health Calculators
BMI, calorie, body fat, TDEE, macro
Math Calculators
Percentage, fractions, age, unit converter
Blog & Guides
Educational articles across all domains
API Documentation
Interactive docs with live examples
About ProCalc.ai
Mission, methodology, and editorial standards
Questions?
For API questions, partnership inquiries, or integration support, reach out at hello@procalc.ai or visit our contact page.