Henderson–Hasselbalch buffer
API · /phcalc-api
pH Calculator API
pH and acid–base maths as an API, computed locally and deterministically. The ph endpoint converts freely between the four ways of describing acidity — the pH, the pOH, the hydronium-ion concentration [H+] and the hydroxide concentration [OH−]: give any one and it returns the others using pH = −log₁₀[H+], [OH−] = Kw/[H+] and pH + pOH = pKw, and classifies the solution as acidic, neutral or basic. The strong endpoint gives the pH of a strong acid or strong base from its molarity ([H+] = c for an acid, [OH−] = c for a base), warning when the solution is so dilute that water self-ionisation matters. The buffer endpoint applies the Henderson–Hasselbalch equation, pH = pKa + log₁₀([A−]/[HA]), to a buffer from a pKa and the conjugate-base-to-acid ratio (given directly or as two concentrations), and also handles a base buffer from a pKb. Kw defaults to 1×10⁻¹⁴ (25 °C) and can be overridden for other temperatures. Everything is computed locally and deterministically, so it is instant and private. Ideal for chemistry and biology lab tools, titration and buffer-prep apps, water-treatment and aquarium software, and science education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is pH and acid–base chemistry; for solution dilution and molarity use a dilution API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 83 ms
- Server probes · 24h
- Subscribers
- 3,949
- active
- Total calls
- 76
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 2,000 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 2,000 pH conversions/month
- Convert between pH, pOH, [H+] and [OH-]
- Strong acid/base calculations
- JSON responses with full work shown
Starter
€5.00 /month
- 30,000 calls / month
- 5 requests / second
- Hard cap (429 above quota, no overage)
- 30,000 calls/month
- Weak acid/base equilibria via Ka/Kb/pKa
- Buffer pH from Henderson-Hasselbalch
- Email support
Pro
€15.00 /month
- 250,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 250,000 calls/month
- Full titration curve generation
- Polyprotic acid speciation
- Temperature-adjusted Kw
- Batch endpoint for classroom datasets
Mega
€49.00 /month
- 2,000,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 2,000,000 calls/month
- Highest throughput for LMS/courseware integration
- Bulk titration + buffer solving
- Priority support and uptime SLA
Built by
Related APIs
Other APIs with overlapping tags.
Isotopes API
Atomic isotope reference data as an API, built on the NIST Atomic Weights and Isotopic Compositions. For every known nuclide: its element (atomic number Z and symbol), mass number, relative atomic mass, natural isotopic composition (abundance) and the element's standard atomic weight. Look an isotope up by label (C-12, U-238) or by symbol + mass, list every isotope of an element, rank isotopes by mass or natural abundance, or search. A precise physics and chemistry reference for science, education, lab and engineering apps. Distinct from element-level data.
api.oanor.com/isotopes-api
Electrolysis API
Faraday-law electrolysis maths as an API, computed locally and deterministically. The mass endpoint applies Faraday's first law of electrolysis, m = (Q·M)/(n·F) = (I·t·M)/(n·F), to give the mass of a substance deposited at a cathode or dissolved at an anode from the charge passed — or the current and time — the molar mass and the valence (electrons transferred per ion), with the Faraday constant 96485 C/mol. The charge endpoint inverts it to give the charge Q = (m·n·F)/M and, with a current, the plating time needed to deposit a target mass — the core sizing calculation for electroplating and anodising. The gas-volume endpoint computes the volume of gas evolved during electrolysis, moles = Q/(n·F) and volume = moles × 22.414 L/mol at STP, using the electrons per gas molecule (two for hydrogen, four for oxygen in water electrolysis). Molar mass is in g/mol, current in amperes, time in seconds, charge in coulombs and mass in grams. Everything is computed locally and deterministically, so it is instant and private. Ideal for electroplating, anodising, battery, hydrogen-production and chemistry-education app developers, plating-time and gas-yield tools, and electrochemistry teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is electrolysis (Faraday's laws); for cell potential and the Nernst equation use an electrochemistry Nernst API.
api.oanor.com/electrolysis-api
Colligative Properties API
Colligative-properties chemistry maths as an API, computed locally and deterministically. The freezing-point endpoint computes the freezing-point depression ΔTf = i·Kf·m and the resulting lowered freezing point of a solution, from the molality, the cryoscopic constant (1.86 °C·kg/mol for water) and the van 't Hoff factor i — which is 1 for a non-electrolyte like sugar, about 2 for sodium chloride and about 3 for calcium chloride. The boiling-point endpoint computes the boiling-point elevation ΔTb = i·Kb·m and the raised boiling point, with the ebullioscopic constant (0.512 °C·kg/mol for water). The osmotic-pressure endpoint computes the van 't Hoff osmotic pressure Π = i·M·R·T from the molarity, the temperature and the van 't Hoff factor, the pressure that drives osmosis across a semipermeable membrane, returned in atmospheres, kilopascals and bar. Molality is in mol per kg of solvent, molarity in mol per litre of solution and temperature in kelvin. Everything is computed locally and deterministically, so it is instant and private. Ideal for chemistry-education, food-science, antifreeze, desalination and biology app developers, solution and de-icing tools, and STEM teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is colligative properties of solutions; for a compound's molar mass use a molar-mass API and for dilution concentrations a dilution API.
api.oanor.com/colligative-api
Reaction Stoichiometry API
Chemical reaction-stoichiometry maths as an API, computed locally and deterministically. The limiting-reagent endpoint takes two reactants with their amounts in moles and their balanced-equation coefficients and finds which one runs out first — the limiting reagent — by comparing the moles/coefficient ratio (the reaction extent), and returns how much of the excess reagent is left over. The yield endpoint computes the theoretical yield of a product, in moles and grams, from the limiting reagent and the product's stoichiometric coefficient and molar mass, n_product = n_limiting·(coeff_product/coeff_limiting), and — given the actual yield — the percent yield. The mole-mass endpoint converts between moles, mass and the number of particles for a given molar mass, using moles = mass / molar_mass and N = moles · Avogadro's number (6.02214076e23). Amounts are in moles, masses in grams and molar masses in g/mol. Everything is computed locally and deterministically, so it is instant and private. Ideal for chemistry-education, lab, pharmaceutical and chemical-engineering app developers, reaction-planning and yield tools, and STEM teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is reaction stoichiometry; for a compound's molar mass from its formula use a molar-mass API and for solution concentrations a dilution API.
api.oanor.com/stoichiometry-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for pH Calculator API?
What's the rate limit for pH Calculator API?
How much does pH Calculator API cost?
Can I cancel my subscription anytime?
Is pH Calculator API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/phcalc-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/phcalc-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/phcalc-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/phcalc-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.