Double Bond Equivalent Calculator
Find a molecule's double bond equivalent from its C, H, X and N counts.
Any non-negative whole-number counts, including formulas with no carbon at all.
Updated October 18, 2026
What the DBE counts
A molecular formula tells you which atoms are present, not how they are joined. The double bond equivalent closes part of that gap with a single number: the amount of unsaturation the formula forces on the structure, counting every double bond, every triple bond and every ring as one shared budget.
The same quantity appears in textbooks under other names — degree of unsaturation, index of hydrogen deficiency, rings plus pi bonds — and all of them mean this one count. It answers a question that comes up early in almost every structure problem: how much unsaturation must be in there, before any spectrum has been interpreted?
- Students checking a formula against a structure they have drawn, or against the molecular ion in a mass spectrum.
- Analysts who have an elemental analysis or a molecular formula and need to know how many rings and pi bonds the compound can hide.
- Anyone planning a formula rather than analysing one: the count tells you how many hydrogens a given carbon skeleton is allowed to keep.
Only four counts go in — carbon, hydrogen, halogen and nitrogen. Oxygen is never asked for, and no unit conversion is involved: the answer is a plain count, exact for whole numbers of atoms.
Working a formula
Start from the molecular formula — the real one, with every atom in the molecule, not the simplified ratio. If all you have is a percentage breakdown by mass, turn it into a formula first with the empirical formula calculator, then come back: the two formulas do not always give the same count.
Count the carbon atoms
Enter the number of carbon atoms as .
Count the hydrogen atoms
Enter the number of hydrogen atoms as .
Count the halogens
Fluorine, chlorine, bromine, iodine and astatine all go in the same box, as . Count them together with the hydrogens in your head: for this arithmetic they behave identically.
Count the nitrogen atoms
Enter the number of nitrogen atoms as . Oxygen is not requested in any form.
Read the result
The double bond equivalent appears as the last box, worked out from the four counts. A zero means no ring and no pi bond; any whole number above zero is the number of rings and pi bonds combined.
Enter 0, not nothing, for a missing element
A formula with no halogens still has a halogen count — it is zero. Leaving that box empty leaves the calculation incomplete, while a typed is a real count that releases the answer.
A first example
Benzene, : six carbons, six hydrogens, no halogen and no nitrogen.
Four units. Benzene spends all four inside its ring: three carbon–carbon double bonds and the ring closure itself. That is the reading to keep in mind — the answer is a budget, and the structure is what spends it.
The formula and each element
Every symbol is a count of atoms, so the whole equation only ever needs four numbers.
A bromine for a hydrogen, and the count does not move
Why oxygen is not in the equation
Oxygen forms two bonds, so it slots into a chain or hangs off a carbonyl without changing how much room the skeleton has for rings and pi bonds. A formula with one oxygen and a formula with six oxygens can carry exactly the same unsaturation.
The pi bond of a group is still counted, because the count follows pi bonds wherever they sit — it simply arrives through the hydrogen total. Ethanol has six hydrogens, acetaldehyde has four, and that missing pair is the carbonyl's one unit.
The same oxygen count, one unit apart
Working backwards on paper
The page takes four counts and returns the DBE. When you are planning a formula instead, the same equation answers the reverse questions: how many hydrogens may a skeleton carry for a target count?
Solved for hydrogen
Solved for carbon
The benzene target, worked from the hydrogen side
The parity rule the formula hides
Because the hydrogen, halogen and nitrogen totals are halved, the result comes out as a whole number only when is even. An odd sum leaves a half-unit behind, and that fraction is meaningful rather than a rounding artefact: it is the signature of an odd number of electrons.
A whole number, or a signal
The fraction is not rounded away, and it is not an error in the arithmetic — see the two flagged results in the last section for what it means and how to clear it.
Spending the units
The result is a budget, not a picture. It says how many rings and pi bonds the structure must contain in total, and leaves it to you — or to the rest of the evidence — to decide where each unit goes.
Rings and pi bonds are interchangeable here: a double bond costs one unit, a triple bond costs two, and closing a ring costs one. That is why a single number can describe several very different structures.
| DBE | One way to spend it | Molecules that do |
|---|---|---|
| 0 | No ring and no pi bond | |
| 1 | One ring, or one pi bond | |
| 2 | One triple bond, or two pi bonds | |
| 3 | Three pi bonds, or two pi bonds plus a ring | |
| 4 | A benzene ring: three pi bonds plus the ring | |
| 5 | A benzene ring plus one more unit | |
| 6 | A benzene ring plus two more units |
Each row lists one arrangement out of many. A count of 2 is equally satisfied by a single triple bond and by two separate double bonds, and no arithmetic can tell those apart.
How to spend it in practice
Deduct the obvious group first
A benzene ring takes four units on its own, so a count of 4 or more in a formula with few oxygens usually starts there.
A triple bond takes two units at once
A remaining count of 2 with no rings points at a or a rather than two separate double bonds.
Re-derive the hydrogens before drawing
Moving a halogen in or out of a candidate structure changes the hydrogen count — and therefore the very number you started from.
Leave nothing unspent
A candidate structure that uses fewer units than the count demands is wrong, however stable it looks.
The count is necessary, never sufficient
Four units in is the classic aromatic set, but it is not proof of a benzene ring: any arrangement of four rings and pi bonds fits the arithmetic. Treat the count as a filter that removes impossible candidates, not as an identification.
Worked examples
Oxygen does not enter, but it still matters
Glucose, C6H12O6
A biochemistry problem asks whether the open-chain form of glucose or its six-membered ring is the one to draw. The formula has six oxygens and the calculator never asks for them, which is the point being tested.
What you enter
Six carbon atoms, twelve hydrogen atoms, no halogen, no nitrogen. The oxygen count is not entered at all.
One unit, spent either as the ring in the cyclic form or as the aldehyde C=O in the open chain. Both structures satisfy the same formula and the same count, and the DBE is what tells you that exactly one of those features is present.
Nitrogen adds to the total
Arginine, C6H14N4O2
An amino acid with four nitrogens, two oxygens and no rings. Anyone who drops the nitrogen term predicts a fully saturated skeleton and then cannot explain the carbonyl or the guanidine group.
What you enter
Six carbon atoms, fourteen hydrogen atoms, no halogen, four nitrogen atoms.
Two units: the carboxyl C=O and the C=N of the guanidine group. Leave the nitrogens out of the arithmetic and the same formula reports 0, which would be wrong by two.
Checks and common mistakes
A second route to the same number
The count can also be reached from the most hydrogens the skeleton could possibly hold — the saturated, acyclic limit — which makes a good independent check when an answer surprises you.
Read it as: every pair of hydrogens the molecule is missing, compared with the fully saturated skeleton, is one unit. Benzene's limit is hydrogens; it has 6, so . That is the same 4 the main formula gives, reached from a different direction.
Use the molecular formula, not a simplified ratio
An empirical formula describes fewer atoms, so it answers a different question. Benzene's ratio is , which reports — not because the arithmetic failed, but because that ratio is not benzene. The trap is easy to miss elsewhere: glucose's ratio reports 1, exactly the same figure the real formula gives.
Check the halogens and the nitrogen every time
Halogens are the easiest atoms to forget, because they are often lumped into a structural drawing as a single letter. In the two bromines lower the count by one, from 4 to 3. Nitrogen moves it the other way, in half units before the halving cancels them out.
Match the formula against the analysis
If the formula came from combustion data or a reported elemental analysis, compare its calculated mass percentages with the measured ones using the percent composition calculator. A formula that is slightly off will still produce a plausible-looking whole number, and the DBE cannot warn you about that — it only checks the arithmetic inside the formula you gave it.
A worked sanity check
Hexane is : the saturated limit for six carbons is 14, so the molecule is missing nothing and the count is 0. Cyclohexane is , two hydrogens short of the same limit, so it carries exactly one unit — the ring. Same carbon count, different hydrogen count, different answer, and both make chemical sense.
Questions
The molecule contains a C=O group — does the DBE count it?
Yes. The count follows pi bonds wherever they are, so a carbonyl, an imine () and a nitrile () all contribute, and a nitrile contributes two.
What oxygen does not do is appear in the arithmetic. The carbonyl's unit arrives through the hydrogen total instead: compare ethanol at 0 with acetaldehyde at 1, where the two missing hydrogens are precisely the bond.
Two different molecules can share a DBE — which one do I have?
The count cannot choose. at 1 is cyclohexane, 1-hexene, or any other arrangement that uses one unit, and they are genuinely different compounds with different boiling points and different reactions.
Use the DBE the way it is meant to be used: to rule candidates out. A proposed structure that needs five units when the formula allows four is finished; the ones that survive are then separated by the other evidence you have.
Assumptions and limits
What the four boxes assume
- One neutral, closed-shell molecule given by its molecular formula. Salts, hydrates and solvates should be taken apart first: run the count for the molecule you care about, not for the whole formula unit.
- A count, not a structure. The result cannot say which atoms are bonded, cannot separate isomers such as cyclohexane and 1-hexene, and cannot identify a compound on its own.
- No mass, no formula and no structure is produced here — the page only converts the formula you already have into an unsaturation budget. Once the formula is settled, the molar mass calculator turns it into grams per mole for weighing and solution work.
Two results that are not answers
A negative value
The formula as typed cannot exist: the hydrogen and halogen atoms together outnumber the bonding positions the carbon and nitrogen skeleton can offer. A five-carbon skeleton has a saturated limit of 12 hydrogens, and this one asks for eight more than that.
Recount the hydrogens and the halogens — this is almost always a transcription slip rather than a real species.
A half-unit value
is odd, so the species has an odd number of electrons. That is either a radical, or an ion whose charge has not been accounted for: a cyclopentadienyl anion typed as its bare formula reports a half-unit for exactly this reason.
Check whether the species is charged or a radical — the four boxes describe a neutral molecule.
Both cases keep their number on screen and are reported with an explanation rather than being replaced by a blank, because the size of the error is often the fastest clue to what went wrong in the count. Fix the input rather than interpreting the fraction.
In coursework, write out the substitution — , , and in the equation — rather than only the final figure. The bookkeeping of the monovalent atoms is where marks are lost, and it is also where a wrong count becomes obvious before the structure is built.
Related Calculators
Chemical Equation Balancer
Balance a chemical reaction and get the smallest whole-number coefficients. Supports bracketed groups such as Fe(OH)3, user-supplied coefficients, and unicode subscripts.
Net Ionic Equation Calculator
Reduce a molecular equation to its net ionic form. Balances the reaction, splits soluble compounds into ions, and names the spectator ions that cancel out.
Atom Calculator
Calculate atomic properties including protons, neutrons, electrons, atomic number and mass number
Electron Configuration Calculator
Get the electron configuration for any element from the periodic table. View atomic number, atomic mass, and valence electrons.
Atomic Mass Calculator
Calculate atomic mass from protons and neutrons. Get atomic mass in various units including atomic mass units (u), kilograms, and more.
Electronegativity Calculator
Calculate electronegativity difference between two elements and determine bond type (ionic, polar covalent, or nonpolar covalent).