# Firewood Calculator (Cords, BTU & Cost per Cord) (`jumblemog/firewood-calculator`) Actor

Firewood from one line: cords and face cords in a stack or pickup bed, BTU by wood species, cords a house burns in a winter, and price per cord vs gas, propane, oil and electricity.

- **URL**: https://apify.com/jumblemog/firewood-calculator.md
- **Developed by:** [Jumble Mog](https://apify.com/jumblemog) (community)
- **Categories:** AI, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Firewood Calculator (Cords, BTU & Cost per Cord)

**Work out firewood from one line of text.** Ask `is $120 for a face cord of red oak a good deal` and you get back:

- **Cords and face cords** in a stack (length × height × rows of your piece length), a pickup bed (stacked or thrown loose) or a number of cords, with the stacked and solid volume and the weight.
- **Heat by wood species**: million BTU per cord for about 50 woods (osage orange, hickory, oak, maple, ash, birch, cherry, pine ...), seasoned or green, and how long each takes to season.
- **Cords for a winter**: from the house size, state or heating degree days, how tight it is, the share of heat from wood and the appliance (EPA stove, older stove, fireplace insert, open fireplace, outdoor boiler, masonry heater).
- **What the price works out to**: per full cord and face cord, per million BTU delivered, ranked against natural gas, propane, heating oil, electric heat, a heat pump and pellets, with the break-even price per cord against gas and oil.
- **Charts** (cost of heat by fuel and heat in a cord by wood) and a **Markdown report**.

It's made for:

- Homeowners buying, cutting or burning firewood.
- Firewood sellers and tree services pricing cords, face cords and truck loads.
- AI agents, home and energy apps that need firewood numbers they can show their work for.

![A chart made by this Actor for heating a 2,000 ft² house in Maine with an EPA wood stove: 5.8 cords of mixed hardwood a winter; at $300 a cord firewood costs $19.48 per million BTU delivered, third of seven fuels after natural gas and a heat pump and ahead of pellets, propane, heating oil and electric heat; below, million BTU per cord by wood from osage orange 32.9 down to aspen 14.7](https://api.apify.com/v2/key-value-stores/Km5b4PG3kYHdZSb1E/records/firewood-calculator-example.png?signature=uBVMVW6IZ54gN7ybO3su)

### How to use it

1. Write **Requests**, one per question. The form has examples.
2. Optionally set the default **appliance**.
3. Click **Start**. Each request is a row in the results, with its summary, chart and report.

#### What you can write

| You write | It means |
|---|---|
| `a stack 16 ft long 4 ft high`, `two rows`, `16 inch logs`, `3 ft deep` | A stack and the piece length |
| `3 cords`, `half cord`, `a face cord`, `2 ricks` | An amount |
| `8 ft pickup bed`, `short bed`, `thrown loose`, `heaped` | A truck load |
| `red oak`, `hickory`, `sugar maple`, `ash`, `birch`, `pine`, `mixed hardwood`, `green` | The wood |
| `$250 a cord`, `$120 a face cord`, `$150 for the load` | The price |
| `2,000 sq ft house in Maine`, `zone 6`, `6,500 HDD`, `80 million BTU a year`, `drafty`, `half the heat from wood` | A house to heat |
| `wood stove`, `old stove`, `fireplace insert`, `open fireplace`, `outdoor boiler`, `masonry heater` | The appliance |
| `propane $2.90/gal`, `gas $1.20/therm`, `electricity 22 cents/kWh` | Your other fuel prices |

The same as an object: `{"cords": 2, "species": "sugar maple", "pricePerCord": 325, "squareFeet": 1800, "state": "WI", "prices": {"natural gas": 1.0}}`.

### Examples

- `how many cords in a stack 16 ft long 4 ft high of 16 inch logs` → 0.67 cords (2 face cords), 14.7 million BTU of mixed hardwood.
- `is $120 for a face cord of red oak a good deal` → $360 a full cord, $20.91 per million BTU; cheaper than propane and oil, dearer than gas below $272 a cord.
- `how much firewood to heat a 2,000 sq ft house in Maine with a wood stove` → 5.8 cords a winter, about $1,753.
- `8 ft pickup bed thrown loose, $150 for the load` → 0.30 cords, $499 a cord.
- `3 cords of green pine` → 36 million BTU as burned, with a seasoning warning.
- `two rows 24 ft long 5 ft high, 18 inch pieces of hickory, $275 a cord, outdoor boiler` → 2.81 cords, 77.9 million BTU.

### How-to examples

These are examples from **Examples** above, written as complete inputs; the result lines are from their runs.

#### How to calculate cords in a stack of firewood

```json
{"requests": ["how many cords in a stack 16 ft long 4 ft high of 16 inch logs"]}
```

Result: 0.67 cords (2 face cords), 14.7 million BTU of mixed hardwood.

#### How to check whether a firewood price is a good deal

```json
{"requests": ["is $120 for a face cord of red oak a good deal"]}
```

Result: $360 a full cord, $20.91 per million BTU; cheaper than propane and oil, dearer than gas below $272 a cord.

#### How to estimate firewood for a winter

```json
{"requests": ["how much firewood to heat a 2,000 sq ft house in Maine with a wood stove"]}
```

Result: 5.8 cords a winter, about $1,753.

#### How to let an AI agent answer a firewood question

Add this Actor to the [Apify MCP server](https://mcp.apify.com) with `https://mcp.apify.com/?tools=jumblemog/firewood-calculator`. The agent writes the stack or the offer ("16 ft long, 4 ft high, 16 inch logs") and passes on the cords, heat in BTU and price per cord instead of guessing them.

### FAQ

**What can it work out?** Cords and face cords from a stack or truck load, heat by species, price per cord and per million BTU against other fuels, and a winter's need.

**What is a face cord?** A stack 4 ft high and 8 ft long, one piece deep. With 16 inch pieces it's a third of a full cord.

**Does green wood count the same?** No. It gives the heat as burned and a seasoning warning.

**How good is the winter estimate?** It's an estimate; your last winter's cords beat any formula.

**How many can I run at once?** Up to 200 questions per run, each as a line of text or an object. A request that can't be computed isn't billed.

**Does it work with Zapier, Make or n8n?** Yes. Call the Actor with its Apify app or an HTTP request and pass the results on.

### Input

| Field | What it is |
|---|---|
| `requests` | Questions as lines of text or objects (up to 200 per run) |
| `appliance` | What burns the wood when a request doesn't say (an EPA wood stove by default) |
| `charts` | Draw a chart for each request (default on) |

### Output

One dataset item per request, also saved together in the run's `OUTPUT` record:

```json
{
  "request": 1, "status": "ok", "type": "firewood", "title": "5.8 cords of mixed hardwood a winter",
  "summary": "Mixed hardwood gives 22 million BTU a cord; the house needs 5.8 cords a winter with an EPA wood stove; at $300 a cord that's $19.48 per million BTU delivered, #3 of 7 fuels (worth it under $243 a cord against gas, $523 against oil).",
  "wood": {"species": "mixed hardwood", "mmbtuPerCord": 22.0, "mmbtuPerCordAsBurned": 22.0, "dryWeightLbPerCord": 3140.0, "greenWeightLbPerCord": 4400.0, "seasoningMonths": 12, "green": false, "pieceIn": 16.0},
  "price": {"perCord": 300.0, "perFaceCord": 100.0, "given": false, "costPerMMBtu": 19.48, "rankAmongFuels": 3, "breakEvenVsGasPerCord": 243.0, "breakEvenVsOilPerCord": 523.0},
  "heat": {"needMMBtu": 90.0, "source": "2,000 ft², 7,500 HDD, average", "shareFromWood": 1.0, "appliance": "epa stove", "efficiency": 0.7, "cordsPerWinter": 5.8, "faceCordsPerWinter": 17.5, "costPerWinter": 1753.0, "startSeasoningMonthsAhead": 12},
  "compare": [{"fuel": "natural gas", "unit": "therm", "price": 1.5, "efficiency": 0.95, "costPerMMBtu": 15.79, "firewood": false}, "..."],
  "units": {"volume": "cords", "heat": "MMBtu", "weight": "lb", "money": "USD"}
}
```

Every item has `warnings`, `notes` (every assumption and default), a Markdown `report` and links to the chart and report. A request with an amount also has `volume` (cords, face cords, ft³, heat in the wood and delivered, weight). A request that can't be computed has `"status": "failed"` and the reason in `error`, and isn't billed.

### How it works

1. **Volume**: a cord is 4 × 4 × 8 ft stacked (128 ft³, about 66% solid wood). A face cord (rick) is 4 × 8 ft one row deep, so 16 in pieces make a third of a cord. A pickup bed is length × 4.2 ft between the wheel wells × 1.7 ft to the rails; thrown loose wood takes about 190 ft³ per stacked cord.
2. **Heat**: million BTU per cord at 20% moisture from US extension tables (hickory 27.7, white oak 25.7, red oak 24.6, sugar maple 25.5, ash 24.2, white pine 15.9 ...); green wood gives about a quarter less.
3. **A winter's need**: floor area × 0.15 / 0.25 / 0.38 BTU/h·°F per ft² (tight / average / leaky) × heating degree days (by climate zone or state) × 24 h, times the share from wood, divided by the heat per cord and the appliance efficiency (EPA stove 70%, older stove 50%, insert 65%, open fireplace 10%, outdoor boiler 50%, masonry heater 80%).
4. **Cost**: USD per million BTU delivered = price ÷ (heat per unit × efficiency) for every fuel, at typical US prices unless you give yours (gas $1.50/therm, propane $2.75/gal, oil $4/gal, electricity $0.17/kWh, pellets $350/ton; heat pump at COP 2.7).

### Pricing

You pay one low price per question, at the price shown on this page. The charts and report are included. Requests that can't be computed are never charged. If you set a maximum cost per run, the Actor stops before a request that wouldn't fit.

### Speed

A request takes milliseconds. A run through the API answers in about 10 seconds, including the cloud container starting.

### Tips and limits

- **Ask the piece length**: a face cord of 12 in pieces is a quarter cord, of 24 in pieces half a cord.
- **Season it**: wood over 25% moisture smokes, builds creosote and gives much less heat; split and stack it off the ground a season ahead (a moisture meter tells you).
- **A winter's need is an estimate**: real use depends on the house, the weather and how warm you keep it; your last winter's cords beat any formula.
- **Limits**: 200 requests per run; US units.

### For AI agents and developers

This Actor works with the [Apify MCP server](https://mcp.apify.com), so AI agents can call it as a tool. Pass `requests` as plain text and read `summary`, `volume`, `price`, `heat`, `compare` and `warnings`. A direct API call that waits for the answer:

```bash
curl -X POST "https://api.apify.com/v2/acts/jumblemog~firewood-calculator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"requests": ["$275 a cord of white oak vs propane at $3.10/gal"]}'
```

`run-sync` instead returns the run's `OUTPUT`: the status, the counts and every result as JSON.

In Python, with the `apify-client` package:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("jumblemog/firewood-calculator").call(run_input={
    "requests": [{"stack": {"length": 20, "height": 5, "rows": 2}, "pieceIn": 16, "species": "ash", "price": 260}],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["summary"])
```

### Credits

- Heat values: US university extension-service firewood tables (million BTU per air-dried cord).
- Charts: [Vega-Lite](https://vega.github.io/vega-lite/) and [vl-convert](https://github.com/vega/vl-convert) (BSD-3-Clause), with the [Inter](https://rsms.me/inter/) font (SIL Open Font License).

# Actor input Schema

## `requests` (type: `array`):

One question per entry, as a line of text or an object. Give an amount ('a stack 16 ft long 4 ft high', 'two rows', '3 cords', 'a face cord', 'half cord', '8 ft pickup bed thrown'), the wood ('red oak', 'hickory', 'ash', 'pine', 'green'), the piece length ('16 inch logs'), a price ('$250 a cord', '$120 a face cord', '$150 for the load'), a house to heat ('2,000 sq ft in Maine', '80 million BTU a year', 'half the heat from wood') and the appliance ('wood stove', 'fireplace insert', 'open fireplace', 'outdoor boiler'). Object fields: species, stack {length, height, depth or rows}, cords, faceCords, pieceIn, truckBedFt, thrown, heaped, price, priceUnit, pricePerCord, pricePerFaceCord, loadMMBtu, sqft, hdd, zone, state, tightness, share, appliance, green, prices {fuel: USD per unit}, title, text.

## `appliance` (type: `string`):

What burns the wood when a request doesn't say (an EPA wood stove by default).

## `charts` (type: `boolean`):

The cost of heat by fuel and the heat in a cord by wood species.

## Actor input object example

```json
{
  "requests": [
    "how many cords in a stack 16 ft long 4 ft high of 16 inch logs",
    "is $120 for a face cord of red oak a good deal",
    "how much firewood to heat a 2,000 sq ft house in Maine with a wood stove",
    "8 ft pickup bed thrown loose, $150 for the load",
    "3 cords of green pine",
    "two rows 24 ft long 5 ft high, 18 inch pieces of hickory, $275 a cord, outdoor boiler",
    {
      "cords": 2,
      "species": "sugar maple",
      "pricePerCord": 325,
      "squareFeet": 1800,
      "state": "WI",
      "prices": {
        "natural gas": 1
      }
    }
  ],
  "charts": true
}
```

# Actor output Schema

## `results` (type: `string`):

One row per request: the summary and chart.

## `output` (type: `string`):

The OUTPUT record: every result in one JSON object.

## `files` (type: `string`):

Charts (PNG and SVG) and Markdown reports in the run's key-value store.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "requests": [
        "how many cords in a stack 16 ft long 4 ft high of 16 inch logs",
        "is $120 for a face cord of red oak a good deal",
        "how much firewood to heat a 2,000 sq ft house in Maine with a wood stove",
        "8 ft pickup bed thrown loose, $150 for the load",
        "3 cords of green pine",
        "two rows 24 ft long 5 ft high, 18 inch pieces of hickory, $275 a cord, outdoor boiler",
        {
            "cords": 2,
            "species": "sugar maple",
            "pricePerCord": 325,
            "squareFeet": 1800,
            "state": "WI",
            "prices": {
                "natural gas": 1
            }
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jumblemog/firewood-calculator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "requests": [
        "how many cords in a stack 16 ft long 4 ft high of 16 inch logs",
        "is $120 for a face cord of red oak a good deal",
        "how much firewood to heat a 2,000 sq ft house in Maine with a wood stove",
        "8 ft pickup bed thrown loose, $150 for the load",
        "3 cords of green pine",
        "two rows 24 ft long 5 ft high, 18 inch pieces of hickory, $275 a cord, outdoor boiler",
        {
            "cords": 2,
            "species": "sugar maple",
            "pricePerCord": 325,
            "squareFeet": 1800,
            "state": "WI",
            "prices": { "natural gas": 1 },
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jumblemog/firewood-calculator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "requests": [
    "how many cords in a stack 16 ft long 4 ft high of 16 inch logs",
    "is $120 for a face cord of red oak a good deal",
    "how much firewood to heat a 2,000 sq ft house in Maine with a wood stove",
    "8 ft pickup bed thrown loose, $150 for the load",
    "3 cords of green pine",
    "two rows 24 ft long 5 ft high, 18 inch pieces of hickory, $275 a cord, outdoor boiler",
    {
      "cords": 2,
      "species": "sugar maple",
      "pricePerCord": 325,
      "squareFeet": 1800,
      "state": "WI",
      "prices": {
        "natural gas": 1
      }
    }
  ]
}' |
apify call jumblemog/firewood-calculator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jumblemog/firewood-calculator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/YiQqXI2Th4IRRpaJO/builds/BLhqKuWBKUhibYXVY/openapi.json
