> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mangrovesystems.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 4.1: Introduction to Mass Balance

> Understand why mass balance is the backbone of credible carbon accounting and how regulators, verifiers, and project developers rely on it.

<Panel>
  <Card title="Accounting Academy" className="accounting-academy-card">
    <div className="accounting-academy-content">
      <Steps className="my-0">
        <Step title="MODULE 1: Fundamentals" icon="bookmark" iconType="solid" stepNumber={1} titleSize="p">
          * [1.1: Core Concepts & the Data Lifecycle](/accounting-academy/module-1/1-1-core-concepts-data-lifecycle)
          * [1.2: Translating Methodologies to Mangrove](/accounting-academy/module-1/1-2-translating-methodologies-to-mangrove)
          * [1.3: Events and Datapoints](/accounting-academy/module-1/1-3-events-and-datapoints)
          * [Exercise: Design and Build](/accounting-academy/module-1/1-exercise-design-and-build)
        </Step>

        <Step title="MODULE 2: Calculations" icon="bookmark" iconType="solid" stepNumber={2} titleSize="p">
          * [2.1: Calculation Architecture](/accounting-academy/module-2/2-1-calculation-architecture)
          * [2.2: Expanding Your Data Model](/accounting-academy/module-2/2-2-expanding-your-data-model)
          * [Exercise: Multi-Step Calculations](/accounting-academy/module-2/2-exercise-multi-step-calculations)
        </Step>

        <Step title="MODULE 3: Batch Partitioning & LCA" icon="bookmark" iconType="solid" stepNumber={3} titleSize="p">
          * [3.1: What Is a Batch?](/accounting-academy/module-3/3-1-what-is-a-batch)
          * [3.2: Batch Partitioning Strategies](/accounting-academy/module-3/3-2-batch-partitioning)
          * [3.3: Life Cycle Assessment & Emissions](/accounting-academy/module-3/3-3-lca-and-emissions)
          * [3.4: Allocating Emissions to Batches](/accounting-academy/module-3/3-4-allocating-emissions-to-batches)
          * [Exercise: Batch Partitioning & LCA](/accounting-academy/module-3/3-exercise-batch-partitioning-and-lca)
        </Step>

        <Step title="MODULE 4: Mass Balance with Ledgers" icon="bookmark" iconType="solid" stepNumber={4} titleSize="p">
          * [4.1: Introduction to Mass Balance](/accounting-academy/module-4/4-1-intro-to-mass-balance)
          * [4.2: Designing the Ledger Structure](/accounting-academy/module-4/4-2-designing-the-ledger-structure)
          * [4.3: Multiple Batch Types for Different Stages](/accounting-academy/module-4/4-3-multiple-batch-types)
          * [Exercise: Design & Build Mass Balance](/accounting-academy/module-4/4-exercise-design-and-build-mass-balance)
        </Step>

        <Step title="MODULE 5: Integration Testing" icon="bookmark" iconType="solid" stepNumber={5} titleSize="p">
          * [5.1: The Complete Model Assembly](/accounting-academy/module-5/5-1-the-complete-model-assembly)
          * [5.2: Testing Patterns](/accounting-academy/module-5/5-2-testing-patterns)
          * [5.3: Common Integration Pitfalls](/accounting-academy/module-5/5-3-common-integration-pitfalls)
          * [Exercise: Integration Testing](/accounting-academy/module-5/5-exercise-integration-testing)
        </Step>

        <Step title="MODULE 6: Advanced Patterns & Production" icon="bookmark" iconType="solid" stepNumber={6} titleSize="p">
          * [6.1: Model Design Best Practices](/accounting-academy/module-6/6-1-model-design-best-practices)
          * [6.2: Advanced Techniques](/accounting-academy/module-6/6-2-advanced-techniques)
          * [6.3: Production Readiness](/accounting-academy/module-6/6-3-production-readiness)
          * [Exercise: Production Deployment](/accounting-academy/module-6/6-exercise-production-deployment)
        </Step>
      </Steps>
    </div>
  </Card>
</Panel>

<Check>
  **What you'll learn in this lesson:**

  * Define mass balance and explain why it matters for carbon projects
  * Identify regulatory and verification requirements for mass balance
  * Understand that mass balance applies to both physical stock and CO2e quantities
  * Connect mass balance to the ledger-based tracking you'll build in this module
</Check>

**Mass balance** is the accounting principle that the total mass of a conserved substance entering a system must equal the total mass leaving the system, plus any change in storage within the system. In carbon and fuels projects, the "substance" we track is usually a carbon-rich physical product, feedstock, or fuel—and the "system" is your project boundary.

```mermaid theme={null}
  graph TB
    Input[Initial Input<br/>Mass In] --> Stage1

    subgraph System1["Stage 1 Boundary"]
        Stage1[Stage 1<br/>Process]
        Acc1[Accumulation 1]
        Loss1[Loss 1]
        Stage1 -.-> Acc1
        Stage1 -.-> Loss1
    end

    Stage1 -->|Output 1 = Input 2| Stage2

    subgraph System2["Stage 2 Boundary"]
        Stage2[Stage 2<br/>Process]
        Acc2[Accumulation 2]
        Loss2[Loss 2]
        Stage2 -.-> Acc2
        Stage2 -.-> Loss2
    end

    Stage2 --> FinalOutput[Final Output<br/>Mass Out]

    style System1 fill:#e3f2fd,stroke:#1976d2,stroke-width:2px,stroke-dasharray: 5 5
    style System2 fill:#e8f5e9,stroke:#388e3c,stroke-width:2px,stroke-dasharray: 5 5
    style Stage1 fill:#42a5f5,stroke:#1976d2,stroke-width:2px,color:#000
    style Stage2 fill:#66bb6a,stroke:#388e3c,stroke-width:2px,color:#000
    style Input fill:#4caf50,stroke:#2e7d32,stroke-width:2px,color:#000
    style FinalOutput fill:#f44336,stroke:#c62828,stroke-width:2px,color:#000
    style Acc1 fill:#90caf9,stroke:#1976d2,stroke-width:1px,color:#000
    style Acc2 fill:#a5d6a7,stroke:#388e3c,stroke-width:1px,color:#000
    style Loss1 fill:#bdbdbd,stroke:#757575,stroke-width:1px,color:#000
    style Loss2 fill:#bdbdbd,stroke:#757575,stroke-width:1px,color:#000
```

In practice, this means: every tonne of feedstock carbon you record as received should be accounted for—whether it becomes product (e.g., biochar, fuel), process loss, or inventory. Nothing should appear without traceable calculations and chain of custody. Mass balance is not just a technical check; it is the backbone of transparency and credibility in the carbon markets. It answers the question: *Can we demonstrate that the attributes we claim are backed by real, traceable flows?*

## Why mass balance matters

Mass balance matters for MRV and compliance because:

* **Methodologies require it.** Most standards bodies (e.g., Isometric, Puro.earth, CARB, RED II) explicitly require mass balance accounting or chain-of-custody tracking for feedstocks, intermediates, and outputs.
* **Verifiers look for it.** Auditors will trace reported tonnes from source events (e.g., delivery tickets, production logs) through processing and into batches or credits. Gaps or unexplained imbalances are red flags. The reported outputs (such as upgraded fuel or high-concentration CO2 injected) cannot be larger in mass than the intermediates (e.g. CO2 transported or mid-quality biogas generated).
* **Project Developers want to optimize it.** Project developers are interested in optimizing the conversion of material balances at various project stages to generate the largest amount of carbon-positive product or credits. Mangrove offers an opportunity for them to analyze the efficiency at each stage.

Without a clear mass balance, a project cannot reliably defend their reported outcomes and pass verification.

## Regulatory and verification requirements

Regulators and standards bodies treat mass balance as a core safeguard against over-claiming and double-counting. Here's how it shows up across major frameworks:

| Framework            | Mass Balance Requirement                                                                                                                                  |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Isometric**        | Requires full chain-of-custody tracking from feedstock through final carbon removal. Verifiers reconcile reported removals against physical flow data.    |
| **Puro.earth**       | Production facilities must demonstrate that output claims are supported by input records. Mass balance audits are part of the verification process.       |
| **CARB (LCFS)**      | Low Carbon Fuel Standard requires pathway-level mass balance for feedstock-to-fuel accounting. Facilities must reconcile input and output volumes.        |
| **RED II / RED III** | EU Renewable Energy Directive requires mass balance systems for tracking sustainability characteristics of biofuels and biomass through the supply chain. |

The common thread: **every framework requires that you can trace reported outputs back to measured inputs**, with no unexplained gaps. Mangrove's ledger system (which you'll build in this module) is designed to satisfy these requirements.

## Physical stock vs. CO2e tracking

Mass balance can apply to different units depending on what your project tracks:

<Tabs>
  <Tab title="Physical stock">
    Track the physical material moving through your project:

    * Sacks of biochar (tonnes)
    * Gallons of fuel (gallons or liters)
    * Cubic meters of gas (Mcf or MMBtu)

    Physical stock mass balance ensures that the amount of material you report producing or delivering is consistent with what you received and processed.
  </Tab>

  <Tab title="CO2e quantities">
    Track the carbon-equivalent quantities:

    * Tonnes of CO2 equivalent removed (tCO2e)
    * Emission reductions claimed (tCO2e)

    CO2e mass balance ensures that net carbon removal claims account for all emissions in the production chain. This is where LCA calculations (Module 3) feed into the mass balance picture.
  </Tab>
</Tabs>

<Note>
  Many projects track **both** — physical stock through production stages and CO2e for final credit issuance. In Mangrove, each ledger can track a different unit, so you can maintain both balances simultaneously.
</Note>

***

### Check your understanding

<Accordion title="What is the core principle of mass balance?" icon="circle-question">
  The total mass of a conserved substance **entering a system must equal the total mass leaving**, plus any change in storage within the system. Every tonne of feedstock carbon recorded should be accounted for — whether it becomes product, process loss, or inventory.
</Accordion>

<Accordion title="Why do verifiers look for mass balance in carbon projects?" icon="circle-question">
  Auditors trace reported tonnes from source events (delivery tickets, production logs) through processing and into batches or credits. **Gaps or unexplained imbalances are red flags** — outputs cannot be larger in mass than the inputs and intermediates that produced them.
</Accordion>

<Accordion title="Can mass balance track both physical stock and CO2e?" icon="circle-question">
  Yes. Mass balance can apply to physical stock (e.g., sacks of biochar, gallons of fuel) **and** to CO2e quantities (tCO2e). Many projects track both simultaneously — physical stock through production stages and CO2e for credit issuance. In Mangrove, each ledger can use a different unit.
</Accordion>

***

Next, learn how to design your ledger structure in [Lesson 4.2: Designing the Ledger Structure](/accounting-academy/module-4/4-2-designing-the-ledger-structure).
