Home / Science / Environmental science / Carbon and energy accounting / Tree carbon calculatorTool #161

Tree carbon sequestration calculator: CO₂ stored in trees from trunk diameter (DBH) and height with your allometric equation

Estimate the carbon and CO₂ stored in trees, and how much they take up each year. Enter each tree's trunk diameter (DBH) and height, an allometric equation for your species, a root-to-shoot ratio and a carbon fraction. See biomass, carbon, CO₂e for every tree and in total, and yearly uptake from two measurements or a growth rate.

Keep it one tap away for everyday use.

Bookmark Tree carbon calculator?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Measure
  2. Equation
  3. Biomass
  4. CO₂e
Nothing is uploadedWorks offline once open

Trees

DBH is the trunk diameter at breast height (1.3 m above the ground). Height is needed only for the equation that uses it. With an earlier measurement the yearly uptake is the change divided by the years; without one, the tool grows each trunk by the DBH growth rate for one year (height kept the same). Up to 20,000 trees. The example trees are made up.

Allometric equation

The equation gives the dry above-ground biomass in kg, with DBH in cm and height in m. The default coefficients are made-up illustrations, not for any real species or forest: enter the a and b of an equation published for your species and region. The root-to-shoot ratio adds roots as a share of the above-ground biomass, and the carbon fraction turns dry biomass into carbon (wood is roughly half carbon). Carbon × 44/12 gives CO₂.

Carbon stored

Every tree (table)
Download

What it does

A tree’s wood is about half carbon, which came out of the air as CO₂. Weighing a tree is impractical, so foresters use allometric equations: formulas, fitted by cutting and weighing sample trees, that predict dry biomass from easy measurements such as the trunk diameter at breast height (DBH, 1.3 m up) and the height. This tool applies the equation you choose to a list of trees and works out:

  • above-ground dry biomass from the equation;
  • roots, as a root-to-shoot ratio times the above-ground biomass;
  • carbon, as the carbon fraction of the total dry biomass;
  • CO₂ equivalent, carbon × 44/12;
  • yearly uptake, from the change since an earlier measurement, or by growing each trunk at a DBH growth rate for one year.

How to use it

  1. Trees. Paste or open one row per tree: a name (optional), DBH now in cm, height now in m, and if you have them the DBH and height at an earlier measurement. Give the years between the two measurements.
  2. Growth rate. For trees with no earlier measurement, give a typical DBH growth in cm per year to estimate the yearly uptake (the height is kept the same).
  3. Equation. Choose a × DBH^b or a × (ρ × DBH² × H)^b, where ρ is the wood density in g/cm³, and type its coefficients. Use an equation published for your species, region and size range: equations vary a lot, and using one outside its range can be badly wrong.
  4. Root-to-shoot ratio and carbon fraction. Typical values sit around 0.2 to 0.3 for roots and 0.47 to 0.5 for carbon, but use values from your own guidance.

The default coefficients are made-up illustrations, not taken from any study and not for any real species.

Worked example

The eight made-up trees, from a 14 cm cherry to a 51 cm pine, were measured now and five years ago. With the illustrative equation biomass = 0.1 × DBH^2.4, a root-to-shoot ratio of 0.25 and a carbon fraction of 0.47, they hold 5.23 t of dry biomass (4.18 t above ground and 1.05 t in roots). That is 2.46 t of carbon, or 9 t of CO₂e. Comparing with the earlier measurements, they took up 346 kg of CO₂e per year. The biggest store is Pine 1, with 2.7 t CO₂e, 30 % of the total.

FAQs

Why is my result so different with another equation? Biomass grows steeply with diameter (b is often 2 to 2.7), so small changes in the coefficients change the result a lot. Always use an equation built for trees like yours.

Can I use this to sell carbon credits? No. Carbon credit standards set their own methods, sampling, uncertainty deductions and checks. This tool is for learning, planning and rough estimates.

Does it count dead wood, leaves or soil? It counts what your equation counts (usually stem, branches and leaves) plus roots. Dead wood, litter and soil carbon are not included.

Is my data uploaded? No. Everything runs in your browser.

Where the numbers come from

  • Allometric biomass equations of the forms a·DBH^b and a·(ρ·DBH²·H)^b, root-to-shoot ratios and the carbon fraction of dry biomass: standard forest inventory methods. The tool has no built-in species equations; the default a, b, wood density, root-to-shoot ratio and carbon fraction are made-up illustrations.
  • CO₂ from carbon by the ratio of molar masses, 44.01/12.01.
  • Checked in the tests against an independent NumPy calculation. The example trees are made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Change log for Tree carbon calculator

  1. Add #161 tree carbon calculator (allometric biomass, CO2e, yearly uptake) Details on GitHub

Every change to fibub

Related tools

Landfill gas estimator #154 Estimate the methane and landfill gas a site makes each year from the tonnes of waste placed. Uses the first-order decay model with your decay rate k and methane potential L0. Shows the peak, the gas flow in m³/h, how much a collection system captures, the power it could make, and the methane and CO2-equivalent emitted. Life cycle comparison (LCA lite) #162 Compare two products, such as a reusable and a single-use one, across life stages (materials, manufacturing, transport, use, end of life) with your own emission factors. See the totals for any number of uses, the break-even point, a stacked bar by stage, which input would flip the result, and how sure the answer is when the factors are uncertain. Field sampling planner #158 Plan where to take field samples. Draw your site boundary, work out how many samples you need (to estimate an average, compare with an action level, or find a hot spot of a given size), and lay the points out on a square or triangular grid, stratified random or simple random. Download the points as CSV or as GPX for a GPS. Biodiversity indices #39 Paste species counts for one or more sites and get Shannon, Simpson, evenness, Chao1 richness, rarefaction curves and Bray-Curtis similarity in one table. Runs in your browser. Quadrat and transect analyser #302 Paste quadrat counts and cover, or line-intercept transect measurements, and get density, frequency, cover, relative values and the importance value for every species, with a chart and downloads. Runs in your browser. Allometry calculator #317 Paste body masses and a trait such as metabolic rate and fit the allometric equation Y = aM^b by log-log regression, with confidence limits, a test of the exponent against 3/4 or 2/3, and predictions. Also scaling laws with editable, illustrative coefficients. Runs in your browser. Leaf area and canopy cover analyser #323 Measure leaf area from a scan or phone photo with a reference square or a scale line, leaf by leaf, or the percentage of a photo covered by green plants. Automatic Otsu threshold you can override. The photo stays in your browser. Plant growth analysis #324 Paste dry mass and leaf area for plants from two or more harvests and get the classical growth analysis: relative growth rate with its standard error and confidence interval, unit leaf rate (net assimilation rate), leaf area ratio, specific leaf area and leaf weight ratio, using Hunt's formulas for means between harvests. Tree height and basal area calculator #334 Work out a tree's height from clinometer readings in degrees or percent, on level or sloping ground, by the tangent method or the laser sine method. Then get basal area from trunk diameters: for one tree, per hectare or acre from a fixed-area plot, or from a prism (angle-gauge) sweep with any basal area factor. Log scale calculator #335 Scale a list of logs in board feet by the Doyle rule, the International 1/4-inch rule and the Scribner formula rule, side by side, and in cubic feet or cubic metres by Smalian's, Huber's and Newton's formulas. Every rule is worked out from its formula, with no volume tables. Forest inventory summary #336 Turn a plot tally (plot, species, DBH, and height if measured) into a stand summary: stems and basal area per hectare or acre with standard errors across plots, quadratic mean diameter, Lorey's mean height, a table by species and a diameter class chart. Paste it or open a CSV or Excel file. Fire Weather Index calculator #337 Run the Canadian Forest Fire Weather Index System over your own daily noon weather (temperature, humidity, wind, rain) from start-up codes. Get the Fine Fuel Moisture Code, Duff Moisture Code, Drought Code, Initial Spread Index, Buildup Index, Fire Weather Index and Daily Severity Rating for every day, with charts. For study and teaching. Canopy gap analyser (hemispherical photos) #338 Analyse a fisheye photo taken up through a forest canopy: circular mask, sky versus canopy from the blue channel with Otsu's threshold, gap fraction in zenith rings, canopy openness and effective leaf area index by Miller's formula. The photo stays in your browser. Carbon footprint calculator #505 Add up a household's yearly carbon footprint from electricity, heating fuel, car and transit, flights (great-circle distance from coordinates), food and goods. Every emission factor is yours to set; the defaults are rounded examples to replace with your country's official factors. See the breakdown, compare scenarios, and download CSV, PDF or Word. Scope 1, 2 and 3 emissions calculator #506 Build a small organisation's greenhouse gas inventory from activity rows (fuel, refrigerant leaks with your GWP, electricity, travel, commuting, purchased goods) times your own emission factors. Totals by scope and category, Scope 2 both location- and market-based, tonnes per employee and per million of revenue, year-on-year change, CSV in and out and a PDF or Word report.