# Generator Size Calculator (Watts, Fuel & Runtime) (`jumblemog/generator-size-calculator`) Actor

Generator sizing from a plain list of appliances: running and starting watts, the peak when the biggest motor starts, the portable or standby size, 240 V amps and connection, and fuel use, runtime and cost.

- **URL**: https://apify.com/jumblemog/generator-size-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

## Generator Size Calculator (Watts, Fuel & Runtime)

**Find what size generator you need from a plain list of what it must run.** Ask `generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump` and you get back:

- **Each load's running and starting watts**, from a built-in table of 45 common appliances and tools, or from the watts, horsepower, tons or BTU you give.
- **The peak**: everything running plus the biggest motor starting (motors start one at a time).
- **The generator size**: portable or home standby, with headroom to run at about 80%, its volts and amps, and how it connects (a 30 A or 50 A inlet and interlock, or a transfer switch).
- **Fuel**: gasoline, propane, natural gas or diesel per hour and per day, the cost, the runtime on a tank, and totals for a multi-day outage.
- **A check** of a generator you already have.
- **Charts** (running, peak and generator watts, and each load's running and starting watts) and a **Markdown report**.

It's made for:

- Homeowners getting ready for storms and outages, RV owners and campers.
- Electricians and generator dealers quoting portable and standby units.
- AI agents, home and outdoor apps that need a generator size they can show their work for.

![A chart made by this Actor for a refrigerator, sump pump, furnace, 10 lights, TV, router and well pump: 4,450 running watts, a 5,950 W peak when the refrigerator starts and a 7,500 W portable generator, with each load's running watts and the extra it takes to start](https://api.apify.com/v2/key-value-stores/Km5b4PG3kYHdZSb1E/records/generator-size-calculator-example.png?signature=fQH1UbL6Zw4ewFfJsqyC)

### How to use it

1. Write **Requests**, one per entry: the loads separated by commas or "and". The form has examples.
2. Optionally set the **fuel** and the **generator kind**.
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 |
|---|---|
| `refrigerator`, `2 freezers`, `10 lights`, `furnace`, `sump pump`, `tv`, `router`, `microwave` | Loads from the table |
| `1 hp well pump`, `3 ton central ac`, `10,000 btu window ac`, `space heater 1500 w`, `aquarium heater 300 w` | Loads with their size |
| `with a soft start` | AC compressors with a soft starter (about a third of the surge) |
| `portable`, `standby`, `whole house` | The kind of generator |
| `propane`, `natural gas`, `diesel` (gasoline by default) | The fuel |
| `20 lb tank`, `100 lb tank`, `5 gallon tank`, `$3.20/gal`, `3 days`, `12 hours a day` | Runtime and cost |
| `7500 watt generator` | Check one you have |

The same as an object: `{"loads": ["refrigerator", {"name": "medical equipment", "runningW": 300}, {"name": "sump pump", "hp": 0.5}], "fuel": "gasoline"}`.

### Examples

- `generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump` → 4,450 running W, 5,950 W peak: a 7,500 W portable, about 0.53 gal/h of gasoline.
- `whole house standby generator on natural gas: 4 ton central ac, electric water heater, electric range, refrigerator, freezer, well pump, 30 lights` → 17,500 running W, 27,500 W peak: a 32 kW standby with a 150 A transfer switch.
- `3 ton central air with a soft start, fridge, furnace fan and 20 led lights, propane, 100 lb tank` → a 9,500 W generator, about 25 hours on the tank.
- `rv ac, microwave, coffee maker, tv, 5 gallon tank` → a 5,500 W generator, about 12 hours on 5 gallons.
- `job site: table saw, air compressor, 2 circular saws, 4 drills` → a 12,000 W generator.
- `7500 watt generator for a 1 hp well pump, 2 fridges, space heater, microwave, 3 days` → yours is big enough; about 42 gallons over 3 days.

### How-to examples

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

#### How to size a portable generator for a power outage

```json
{"requests": ["generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump"]}
```

Result: 4,450 running W, 5,950 W peak: a 7,500 W portable, about 0.53 gal/h of gasoline.

#### How to size a whole-house standby generator

```json
{"requests": ["whole house standby generator on natural gas: 4 ton central ac, electric water heater, electric range, refrigerator, freezer, well pump, 30 lights"]}
```

Result: 17,500 running W, 27,500 W peak: a 32 kW standby with a 150 A transfer switch.

#### How to estimate generator runtime on a propane tank

```json
{"requests": ["3 ton central air with a soft start, fridge, furnace fan and 20 led lights, propane, 100 lb tank"]}
```

Result: A 9,500 W generator, about 25 hours on the tank.

#### How to let an AI agent size a generator

Add this Actor to the [Apify MCP server](https://mcp.apify.com) with `https://mcp.apify.com/?tools=jumblemog/generator-size-calculator`. The agent writes the loads in plain words ("fridge, sump pump, furnace, 10 lights") and passes on the running and peak watts, the generator size and the fuel use instead of guessing them.

### FAQ

**How does it pick the size?** It adds the running watts of everything you list, then the biggest motor's starting surge, and picks the next generator size up.

**Can I use my own appliance watts?** Yes, and they beat typical values: write `fridge 900 w`.

**Which fuels does it cover?** Gasoline, propane and natural gas, with fuel use per hour and runtime on your tank.

**Does it cover three-phase sites?** No. It's for single-phase homes, RVs and small job sites.

**How many can I run at once?** Up to 200 load lists 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` | Lists of loads as lines of text or objects (up to 200 per run) |
| `fuel` | The fuel when a request doesn't say (gasoline for portable, natural gas for standby) |
| `kind` | Portable or standby when a request doesn't say (chosen by size) |
| `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": "generator", "title": "Generator for 7 loads",
  "summary": "4,450 running watts, 5,950 W peak when the refrigerator starts: a 7,500 W (7.5 kW) portable generator at 59% running load, connected through a 50 A 240 V 14-50 / SS2-50 inlet and interlock; about 0.53 gal/h of gasoline, $44.43 a day.",
  "loads": [{"name": "refrigerator", "count": 1, "runningW": 700, "startingW": 2200, "volts": 120, "source": "typical"}, "..."],
  "totals": {"runningW": 4450, "peakW": 5950, "largestStart": "refrigerator", "neededW": 5950},
  "generator": {"kind": "portable", "sizeW": 7500, "sizeKw": 7.5, "runningLoadPercent": 59, "peakLoadPercent": 79, "volts": 240, "amps": 31.2, "connection": "a 50 A 240 V 14-50 / SS2-50 inlet and interlock"},
  "fuel": {"fuel": "gasoline", "unit": "gal", "averageLoadW": 2225, "perHour": 0.53, "perHourFullLoad": 1.12, "perDay": 12.7, "hoursPerDay": 24, "price": 3.5, "costPerDay": 44.43},
  "units": {"power": "W", "voltage": "V", "current": "A", "fuel": "gal", "money": "USD"}
}
```

Every item has `warnings` (including any words it couldn't match to a load), `notes` (every assumption and default), a Markdown `report` and links to the chart and report. A request that can't be computed has `"status": "failed"` and the reason in `error`, and isn't billed.

### How it works

1. **Loads**: typical running and starting watts from generator makers' wattage guides (refrigerator 700/2,200 W, sump pump 1,050/2,150, furnace fan 875/2,350, well pump 1,500/3,000 at 240 V ...). Motors given in hp at 1,600 W/hp; central AC and heat pumps at 1,250 W a ton with 3 times that to start (a soft starter cuts the extra by about two thirds); window AC at BTU ÷ 9.
2. **Peak** = every running watt + the largest extra starting surge, since motors start one at a time.
3. **Size** = the larger of the peak and running × 1.2 (about 80% loading), up to the next portable size (2,000-15,000 W) or standby size (10-60 kW).
4. **Connection**: a 120 V outlet up to 3,600 W, a 30 A L14-30 inlet up to 7,200 W, a 50 A inlet up to 12,000 W; standby units with an automatic transfer switch.
5. **Fuel**: average load = half the running watts (fridges, pumps and furnaces cycle); fuel/h = full-load fuel × (0.25 + 0.75 × load share), with about 6.7 kWh per gallon of gasoline, 4.8 per gallon of propane, 5.9 per therm of natural gas and 11.4 per gallon of diesel. Prices default to $3.50, $2.75, $1.60 a therm and $4.00.

### Pricing

You pay one low price per generator sized, 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

- **Nameplates win**: the watts on your appliance's label (volts × amps) beat typical values; add them as `fridge 900 w`.
- **Start big motors first**, then add the rest, and stagger the AC and well pump.
- **Never backfeed** through an outlet: use an interlock or transfer switch installed by an electrician, and run the generator outdoors away from windows (carbon monoxide).
- **Limits**: 200 requests per run; single-phase homes, RVs and small job sites.

### 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`, `generator`, `totals`, `fuel` and `warnings`. A direct API call that waits for the answer:

```bash
curl -X POST "https://api.apify.com/v2/acts/jumblemog~generator-size-calculator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"requests": ["fridge, freezer, sump pump, furnace, 15 lights, propane, 20 lb tank"]}'
```

`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/generator-size-calculator").call(run_input={
    "requests": [{"loads": ["refrigerator", "well pump", {"name": "central ac", "tons": 3}], "kind": "standby"}],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["summary"])
```

### Credits

- Values: typical running and starting watts from generator makers' published wattage guides; fuel from typical small-generator efficiencies.
- 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 request per entry, as a line of text or an object. List the loads, separated by commas or 'and': 'refrigerator', '2 freezers', '10 lights', 'sump pump', '1 hp well pump', 'furnace', '3 ton central ac', '10,000 btu window ac', 'electric water heater', 'space heater 1500 w', or anything with its watts. Options: 'soft start', 'portable' or 'standby', fuel ('propane', 'natural gas', 'diesel', gasoline by default), '20 lb tank' or '5 gallon tank', '$3.20/gal', '3 days', '12 hours a day', and '7500 watt generator' to check one you have. Object fields: loads (names or objects with name, count, runningW, startingW, volts, hp, tons, btu), fuel, kind, softStart, tankGallons, price, hoursPerDay, days, loadFactor, given, title, text.

## `fuel` (type: `string`):

The fuel when a request doesn't say (gasoline for portable, natural gas for standby).

## `kind` (type: `string`):

Portable or home standby when a request doesn't say (chosen by size).

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

The running, peak and generator watts, and each load's running and starting watts.

## Actor input object example

```json
{
  "requests": [
    "generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump",
    "whole house standby generator on natural gas: 4 ton central ac, electric water heater, electric range, refrigerator, freezer, well pump, 30 lights",
    "what size generator to run a 3 ton central air with a soft start, fridge, furnace fan and 20 led lights, propane, 100 lb tank",
    "rv ac, microwave, coffee maker, tv, inverter, 5 gallon tank",
    "job site: table saw, air compressor, 2 circular saws, 4 drills",
    "7500 watt generator for a 1 hp well pump, 2 fridges, space heater, microwave, 3 days",
    {
      "loads": [
        "refrigerator",
        {
          "name": "medical equipment",
          "runningW": 300
        },
        {
          "name": "sump pump",
          "hp": 0.5
        }
      ],
      "fuel": "gasoline"
    }
  ],
  "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": [
        "generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump",
        "whole house standby generator on natural gas: 4 ton central ac, electric water heater, electric range, refrigerator, freezer, well pump, 30 lights",
        "what size generator to run a 3 ton central air with a soft start, fridge, furnace fan and 20 led lights, propane, 100 lb tank",
        "rv ac, microwave, coffee maker, tv, inverter, 5 gallon tank",
        "job site: table saw, air compressor, 2 circular saws, 4 drills",
        "7500 watt generator for a 1 hp well pump, 2 fridges, space heater, microwave, 3 days",
        {
            "loads": [
                "refrigerator",
                {
                    "name": "medical equipment",
                    "runningW": 300
                },
                {
                    "name": "sump pump",
                    "hp": 0.5
                }
            ],
            "fuel": "gasoline"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jumblemog/generator-size-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": [
        "generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump",
        "whole house standby generator on natural gas: 4 ton central ac, electric water heater, electric range, refrigerator, freezer, well pump, 30 lights",
        "what size generator to run a 3 ton central air with a soft start, fridge, furnace fan and 20 led lights, propane, 100 lb tank",
        "rv ac, microwave, coffee maker, tv, inverter, 5 gallon tank",
        "job site: table saw, air compressor, 2 circular saws, 4 drills",
        "7500 watt generator for a 1 hp well pump, 2 fridges, space heater, microwave, 3 days",
        {
            "loads": [
                "refrigerator",
                {
                    "name": "medical equipment",
                    "runningW": 300,
                },
                {
                    "name": "sump pump",
                    "hp": 0.5,
                },
            ],
            "fuel": "gasoline",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jumblemog/generator-size-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": [
    "generator for a refrigerator, sump pump, furnace, 10 lights, tv, internet router and a well pump",
    "whole house standby generator on natural gas: 4 ton central ac, electric water heater, electric range, refrigerator, freezer, well pump, 30 lights",
    "what size generator to run a 3 ton central air with a soft start, fridge, furnace fan and 20 led lights, propane, 100 lb tank",
    "rv ac, microwave, coffee maker, tv, inverter, 5 gallon tank",
    "job site: table saw, air compressor, 2 circular saws, 4 drills",
    "7500 watt generator for a 1 hp well pump, 2 fridges, space heater, microwave, 3 days",
    {
      "loads": [
        "refrigerator",
        {
          "name": "medical equipment",
          "runningW": 300
        },
        {
          "name": "sump pump",
          "hp": 0.5
        }
      ],
      "fuel": "gasoline"
    }
  ]
}' |
apify call jumblemog/generator-size-calculator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jumblemog/generator-size-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/aBCRur5OkaM6lkYPQ/builds/ajhIpVObLg7fYet4N/openapi.json
