ForHosting KIT · Science

pH from hydrogen ion concentration calculator

0.1 mol/L of hydrogen ions is pH 1, a clearly acidic solution: type a known [H+] in moles per litre and get the pH, its acidic, neutral or basic label and the worked steps for checking answers. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Hydrogen ion concentration
0.0000001
You get
Concentration
0.0000001
H plus
0.0000001
Unit concentration
mol/L
Ph
7

This pH from hydrogen ion concentration calculator converts a known [H+] value in moles per litre into the acidity scale every chemistry course and quality lab uses.

What pH and hydrogen ion concentration mean together

pH is the common logarithmic measure of how acidic or basic an aqueous solution is. By definition at standard classroom precision, pH equals the negative base-ten logarithm of the hydrogen ion concentration expressed in moles per litre: pH equals minus log ten of the hydrogen ion molarity. When that concentration is one times ten to the minus seven moles per litre, the pure-water reference near twenty-five degrees Celsius, pH is seven and the solution is called neutral on that scale.

Larger hydrogen ion concentration means a smaller pH and a more acidic solution; smaller concentration means a larger pH and a more basic or alkaline solution. Concentrated strong acids can yield pH below zero when concentration exceeds one mole per litre, and strongly basic solutions can push pH above fourteen when hydrogen ion levels are extremely small. Those extremes remain valid under the same closed formula; what is never valid is a zero or negative concentration, because the logarithm is only defined for positive real numbers.

Teachers, lab notebooks, and automated graders care about that rejection as much as the happy path: a silent fallback would hide a data-entry error and produce non-finite or meaningless results. The check path recomputes minus log ten of the published concentration with the same fixed rounding used for the ph field, so a successful response always ships with steps you can assert in tests or lab notebooks.

Practical tips, limits, and related searches

Keep hydrogen ion concentration inside the published absolute range so minus log ten of concentration cannot overflow into a non-finite pH the solver must reject. Use moles per litre consistently; if your source reports millimoles per litre or moles per cubic centimetre, convert before calling rather than mixing unit systems inside one request. Prefer this capability when you already know [H+] and only need pH; if your source is only a weak-acid Ka and concentration of undissociated acid, solve for [H+] first with the appropriate equilibrium model.

Round-trip intuition is easy: ten to the power of minus the published pH recovers the original concentration within the same twelve-decimal rounding for typical aqueous values, and confirming acidity flips correctly when you move [H+] across the pure-water reference of one times ten to the minus seven moles per litre.

Homework checks for pH = −log10([H+])

Students enter textbook hydrogen ion concentrations and compare hand-written pH and acidity labels against a deterministic result before submitting.

Lab notebook conversion of meter-free [H+]

Technicians convert a known or calculated [H+] in mol/L into pH for reports when only concentration data is available.

How do you calculate pH from hydrogen ion concentration?

Use pH = −log₁₀([H⁺]) with [H⁺] in mol/L. This tool returns the rounded pH, acidity class, and substitution steps.

Does this calculate pOH or buffer pH?

No. It only converts a known [H⁺] into pH. Use a dedicated buffer or equilibrium tool if you need those models.

Is the pH from hydrogen ion concentration calculator free?

The browser tool is free and runs locally.

How can I check a pH result by working backwards?

Raise ten to the power of minus the pH and you get the original hydrogen ion concentration back, within the same rounding. Moving [H+] across 1 × 10⁻⁷ mol/L should also flip the label between acidic and basic.

What if I only know the Ka and concentration of a weak acid?

Then you need the hydrogen ion concentration first. Solve the weak-acid equilibrium for [H+] with a suitable model, and only then use this calculator to turn that concentration into pH.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/chem/ph-from-hydrogen-ion

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/chem/ph-from-hydrogen-ion \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hydrogen_ion_concentration":1e-7}'
{
  "hydrogen_ion_concentration": 1e-7
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "chem.ph_from_hydrogen_ion",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Zero or non-positive concentration is rejected with a clear invalid_input error so a blank cell or a negative typo never silently produces a non-finite logarithm. Homework checks, titration prep, exam review, automated graders, and API pipelines all need that same closed formula without a spreadsheet or a full aqueous speciation package.

What pH and hydrogen ion concentration mean together

Related classroom quantities such as pOH and the water ion product Kw are intentionally out of scope here so this landing stays focused on the single search intent of converting a known hydrogen ion concentration into pH for homework, lab prep, and API automation without a full aqueous speciation package or spreadsheet macros.

How to call the API and what comes back

The concentration must be strictly positive; values at or below one times ten to the minus fifteen are treated as zero and rejected along with any explicit negative. Send a JSON body with one required finite number: hydrogen_ion_concentration (aliases concentration, h_plus, h_concentration, hydrogen_ion, c_h, molarity_h) in moles per litre. Absolute value must stay within the published limit of one trillion so intermediate results remain finite in IEEE double precision on the Worker and in the browser. On success the response echoes rounded hydrogen_ion_concentration, concentration, and h_plus, sets unit_concentration to mol/L, ph and pH to the same rounded value, formula to the string pH equals minus log ten of [H+], acidity to acidic, neutral, or basic, message to a short English summary, and steps to an ordered array of substitution lines. Failed validation—missing concentration, non-finite numbers, values outside absolute limits, zero or non-positive concentration, or a non-finite computed pH—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item and zero marginal unit price. Prefer sending numeric JSON rather than pre-formatted strings when you control the client; string numbers are accepted only when they match a strict finite numeric pattern including optional scientific notation for values such as one e minus seven for pure-water reference cases.

Practical tips, limits, and related searches

When teaching, pair classic examples: concentration equals one times ten to the minus seven yields pH seven and neutral; concentration equals zero point one for a strong monoprotic acid approximation yields pH one and acidic; concentration equals one times ten to the minus fourteen yields pH fourteen and basic; and concentration equals zero demonstrates the hard invalid_input path that protects logarithms from non-positive arguments. This landing targets people searching for a pH from hydrogen ion concentration calculator, pH from [H+], or minus log ten of hydrogen ion molarity online; it is not a buffer calculator, not a titration curve tool, and not a pOH or Kw solver. Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when learners deliberately send zero.

Unit tests for chemistry helpers

Generate known-good acidic, neutral, and basic pH cases plus deliberate zero-concentration rejections for coding kata and grading pipelines.

What happens if concentration is zero or negative?

pH is undefined for non-positive [H⁺]. The API returns invalid_input instead of taking a log of zero or a negative number.

What concentration gives pH 7?

At the pure-water reference, [H⁺] = 1×10⁻⁷ mol/L gives pH = 7 and acidity neutral.

Read the full KIT documentation →