Avogadro calculator
Turn an amount in moles into a particle count with the exact Avogadro constant: 1 mol is 6.02214076 × 10²³ atoms, molecules, ions or formula units. Enter the moles and read the count, with each substitution step shown. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Moles
- 1
- Particles
- 602,214,076,000,000,000,000,000
- Avogadro constant
- 602,214,076,000,000,000,000,000
- N A
- 602,214,076,000,000,000,000,000
- Unit moles
- mol
An Avogadro calculator converts an amount of substance in moles into a particle count using the exact SI Avogadro constant, so students, lab technicians, and grading scripts get the number of atoms, molecules, ions, or formula units without a spreadsheet. Enter moles, multiply by N_A equal to 6.02214076 times ten to the twenty-three reciprocal moles, and read back N.
What Avogadro's constant does to a mole amount
The Avogadro constant is the exact SI bridge between the chemist's amount of substance and a laboratory-scale count of elementary entities. You supply n in moles; you receive N as a particle count. Those particles may be atoms of an element, molecules of a covalent compound, ions of a salt, or formula units of a network solid.
The constant does not inspect the species; it only scales the amount. One mole of any specified entity therefore contains exactly N_A of those entities, two moles contain twice that, a millimole contains one thousandth of N_A, and zero moles maps to zero particles, which is the physically consistent count for an empty sample. What this tool will not do is invent a count from a negative amount of substance.
A negative mole number does not describe a physical sample sitting on a balance, and returning a negative N would hide a data-entry error that homework, lab prep, and automated graders all need to see. Keep n inside the published mole ceiling so n times N_A stays finite and the substitution steps in the response remain readable next to the numeric fields.
Where moles-to-particles conversion earns its keep
Classrooms and tutoring platforms use an Avogadro calculator so learners can check atom and molecule counts for arbitrary mole amounts without dropping a power-of-ten or flipping the constant. Laboratory notebooks convert planned moles into expected entity counts for dilute samples, surface coverages, and stoichiometry checks before anyone weighs a bottle. Failed validation does not consume balance, which keeps exploratory scripts cheap when learners deliberately set moles to a negative value.
This landing is not a mass-to-moles tool that needs molar mass, not a molecular-weight look-up from a chemical name, and not an ideal-gas solver for PV equals nRT. Prefer it when you already have moles and only need the Avogadro bridge to a particle count. Keep requests small, pin the returned particles field in tests, and you get reproducible entity counts for homework, LMS plugins, and edge workers without standing up a chemistry database of your own.
Round-trip checks against a particles-to-moles helper are easy: convert moles to particles here and divide back by N_A to recover the original moles within the same rounding.
What you can do with it
Homework checks for N = n · N_A
Students enter textbook mole amounts and compare hand-written atom or molecule counts against a deterministic particle count before submitting.
Lab prep particle estimates
Technicians convert planned moles into expected entity counts for dilute samples, surface coverages, or stoichiometry checks.
FAQ
How do I convert moles to particles?
Multiply the moles by Avogadro's constant, 6.02214076 × 10²³ per mole. One mole gives that many particles, two moles twice as many, a millimole one thousandth, and zero moles gives zero.
Does it matter whether I count atoms, molecules or ions?
No. The constant does not look at the species, it only scales the amount. One mole of any entity holds the same number of that entity, so you decide whether a particle means an atom, a molecule, an ion or a formula unit.
Can I go from grams to particles with this tool?
Not directly: it starts from moles. It does not use molar mass or look up a compound by name, and it does not solve gas-law problems. Convert the mass to moles first, then bring that amount here.
Why is a negative number of moles refused?
Because a negative amount does not describe any real sample, and a negative particle count would hide a typing mistake. Zero moles is accepted and gives zero particles, the right count for an empty sample.
Related tools
For developers — API access
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.
API endpoint
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.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/chem/avogadro \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"moles":1}'const res = await fetch("https://api.kit.forhosting.com/chem/avogadro", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"moles": 1
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/chem/avogadro",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"moles": 1
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/chem/avogadro", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"moles":1}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"moles":1}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/chem/avogadro", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"moles": 1
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "chem.avogadro",
"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.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Limits
max_abs_moles | 1000000000000 |
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
Negative mole amounts and non-numeric values fail with invalid_input rather than inventing a negative particle count. Each successful call costs $0.002; failed validation is not billed.
What Avogadro's constant does to a mole amount
After the 2019 redefinition of the mole, N_A is fixed at 6.02214076 times ten to the twenty-three reciprocal moles: it is no longer a measured cluster of experimental averages that textbooks revise between printings. This calculator applies one identity only: N equals n times N_A. Non-numeric strings, empty fields, infinities, and NaN are likewise rejected with invalid_input so a typo never becomes a silent zero.
How to call the calculator and read the particle count
You do not send a custom Avogadro constant: N_A is fixed by the SI definition and echoed in the response. Prefer sending numbers rather than pre-formatted strings when you control the client; string numbers are accepted only when they match a strict finite numeric pattern including scientific notation such as 2.5e-3. POST a JSON body with the required field moles, the amount of substance in moles. Aliases n, amount, and mol are accepted and mean the same thing; send a finite JSON number or a numeric string in ordinary or scientific notation. Absolute moles must stay within the published limit of one trillion so the product n times N_A remains finite in IEEE double precision on the Worker and in the browser. On success the body returns rounded moles, particles as the entity count, avogadro_constant and N_A set to the same SI value, unit_moles as mol, unit_particles as entities, unit_avogadro as mol^-1, formula as N equals n times N_A, a short English message, and steps as an ordered array of substitution lines you can print beside a worksheet. Failed validation — missing moles, a value that is not a finite number, a value outside the absolute limit, or a negative mole amount — returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item and no extra unit tariff. Pair one mole, which yields exactly N_A entities, with two moles, which yield twice N_A, and with moles equal to negative one, which demonstrates the hard invalid_input path for a negative amount of substance.
Where moles-to-particles conversion earns its keep
Exam-prep generators need a deterministic oracle that marks a negative mole amount as invalid_input instead of silently returning a negative particle count that a buggy grader might treat as success.
Integration use cases
Unit tests for chemistry helpers
Generate known-good moles-to-particles pairs plus deliberate negative-moles rejections for coding kata and grading pipelines.
Technical questions
How do you convert moles to a particle count?
Multiply amount in moles by Avogadro's constant: N = n · N_A, with N_A = 6.02214076×10²³ mol⁻¹. This tool returns the particle count with fixed rounding and substitution steps.
What happens if the mole amount is negative?
Conversion is rejected. The API returns invalid_input instead of inventing a negative particle count, and the request is not billed.
What if moles is not a number?
Missing, empty, infinite, NaN, or non-numeric moles fail with invalid_input naming the field. Send a finite JSON number or a numeric string.
Which Avogadro constant does the calculator use?
The exact SI value from the 2019 mole redefinition: N_A = 6.02214076×10²³ mol⁻¹. You cannot override it; the response echoes avogadro_constant and N_A.
What does the Avogadro calculator cost?
The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.