# Paver Patio Calculator (Pavers, Base, Sand & Cost) (`jumblemog/paver-patio-calculator`) Actor

Paver patios, walkways, pool decks and driveways: pavers with pattern waste, base gravel, bedding and polymeric sand, edging, digging and a materials cost, for any rectangle, L shape or circle.

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

## Paver Patio Calculator (Pavers, Base, Sand & Cost)

**Work out everything a paver patio, walkway or driveway takes from one line of text.** Ask `12 x 16 ft patio with 6x9 pavers, running bond` and you get back:

- **Pavers**: how many, the square feet with the pattern's cuts (5% for running bond up to 15% for 45° herringbone, more for circles), their weight and pallets.
- **Base gravel** in cubic yards and tons to order, deep enough for the use (patio, walkway, pool deck or driveway), the soil (clay) and frost, reaching past the edges.
- **Bedding sand**, **polymeric joint sand** (by the joint volume of that paver), **edge restraint** with spikes, **fabric** on clay, and the **dig depth** and soil to haul away.
- **Permeable pavers** with an open-graded #57 base and #8 chips.
- **Drainage fall** and a **materials cost** in total and per square foot.
- **Charts** (a to-scale plan with the paver courses, the build-up and the cost by item) and a **Markdown report**.

It's made for:

- Homeowners and DIYers planning a patio, path or fire pit area.
- Landscapers and hardscape contractors putting together material orders and quotes.
- AI agents, home improvement and landscaping apps that need a paver estimate they can show their work for.

![A chart made by this Actor for an L-shaped 20×12 plus 10×8 ft ashlar paver patio against the house: a to-scale plan with the paver courses, the 4 in base, 1 in sand and 2 3/8 in paver build-up, and about $2,158 of materials by item](https://api.apify.com/v2/key-value-stores/Km5b4PG3kYHdZSb1E/records/paver-patio-calculator-example.png?signature=1HsDK90kdXzol8Rv7h7xk)

### How to use it

1. Write **Requests**, one per paved area. The form has examples.
2. Optionally set the default **paver** and **pattern**.
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 |
|---|---|
| `12 x 16 ft`, `16' x 20'`, `5 x 6 m`, `walkway 30 ft long 4 ft wide` | A rectangle |
| `20x12 plus 10x8` | An L or T shape |
| `14 ft circle`, `circular patio 12 ft across`, `radius 6 ft` | A circle |
| `300 sq ft` | An area (edge length taken as a square's unless you give a perimeter) |
| `4x8`, `6x9`, `12x12`, `24x24 slabs`, `ashlar`, `7 x 10 inch pavers`, `80 mm` | The paver |
| `running bond`, `herringbone`, `45 degree herringbone`, `basketweave`, `stack bond` | The pattern |
| `patio`, `walkway`, `pool deck`, `driveway` | The use |
| `clay`, `cold winters`, `permeable`, `against the house` | Ground, climate and edges |
| `$4.25/sq ft`, `10% waste` | Prices and waste |

The same as an object: `{"length": 24, "width": 14, "paver": "6x9", "pattern": "herringbone 90", "soil": "clay", "prices": {"pavers": 3.9}}`.

### Examples

- `12 x 16 ft patio with 6x9 pavers, running bond` → 520 pavers, 4.6 t base, 0.9 t sand, 3 bags of polymeric sand, 59 ft of edging; about $1,172.
- `14 ft circle fire pit patio, 4x8 pavers, herringbone` → 761 pavers with 15% for the herringbone and the curve.
- `paver driveway 20 x 40 ft in clay, cold winters, 4x8 pavers 80 mm, 45 degree herringbone` → a 14 in base (67 t), dig 18 in.
- `walkway 30 ft long 4 ft wide, 12x12 pavers, $4.25/sq ft` → 124 pavers; about $875.
- `L-shaped patio 20x12 plus 10x8 against the house, ashlar pattern` → 320 ft², edging on 60 ft of open edge.
- `300 sq ft permeable paver patio` → a 6 in #57 base and #8 chips, no polymeric sand.

### How-to examples

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

#### How to calculate pavers, base and sand for a patio

```json
{"requests": ["12 x 16 ft patio with 6x9 pavers, running bond"]}
```

Result: 520 pavers, 4.6 t base, 0.9 t sand, 3 bags of polymeric sand, 59 ft of edging; about $1,172.

#### How to estimate a circular fire pit patio

```json
{"requests": ["14 ft circle fire pit patio, 4x8 pavers, herringbone"]}
```

Result: 761 pavers with 15% for the herringbone and the curve.

#### How to size the base for a paver driveway

```json
{"requests": ["paver driveway 20 x 40 ft in clay, cold winters, 4x8 pavers 80 mm, 45 degree herringbone"]}
```

Result: A 14 in base (67 t), dig 18 in.

#### How to let an AI agent estimate a paver patio

Add this Actor to the [Apify MCP server](https://mcp.apify.com) with `https://mcp.apify.com/?tools=jumblemog/paver-patio-calculator`. The agent writes the area and paver ("12 x 16 ft patio with 6x9 pavers") and passes on the paver count, base and sand tonnage and cost instead of guessing them.

### FAQ

**What does it give me?** Pavers with pattern waste, base stone, bedding sand, polymeric sand, edging and a materials cost.

**Which shapes does it take?** Rectangles, L and T shapes, circles, or an area and perimeter you give.

**Does it handle driveways and permeable pavers?** Yes. Driveways and clay or cold sites get a deeper base, and permeable patios get open-graded stone with no polymeric sand.

**Are the prices real?** They're rough US retail for materials only. Give your own paver and stone prices for a real total.

**How many can I run at once?** Up to 200 paved areas 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` | Paved areas as lines of text or objects (up to 200 per run) |
| `paver` | The paver when a request doesn't say (6×9 in by default) |
| `pattern` | The laying pattern when a request doesn't say (running bond 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": "paver", "title": "12×16 ft paver patio",
  "summary": "12×16 ft paver patio (192 ft²): 520 6×9 in pavers (202 ft² with 5% for running bond), 4.6 t of base (4 in), 0.9 t of bedding sand, 3 bags of polymeric sand, 59 ft of edge restraint; dig 7.38 in deep (5.0 yd³). About $1,172 in materials ($6.10/ft²).",
  "area": {"shape": "12×16 ft", "areaFt2": 192.0, "perimeterFt": 56.0, "edgeFt": 56.0, "use": "patio", "pattern": "running bond", "wastePercent": 5.0, "paver": "6×9 in paver", "permeable": false},
  "layers": {"paverIn": 2.375, "beddingIn": 1.0, "baseIn": 4.0, "excavationIn": 7.38, "baseMaterial": "3/4 in minus dense-graded gravel", "baseOverhangIn": 6.0, "fallIn": 3.0, "fallOverFt": 12.0},
  "materials": {"pavers": 520, "paverFt2": 201.6, "paverWeightTons": 2.79, "pallets": 2, "baseYd3": 2.73, "baseTons": 4.58, "beddingTons": 0.88, "polymericSandBags": 3, "edgeRestraintFt": 59, "spikes": 59, "fabricFt2": 0, "excavationYd3": 5.03},
  "cost": {"pavers": 756.0, "base": 183.0, "beddingSand": 40.0, "polymericSand": 90.0, "edging": 103.0, "total": 1172.0, "perFt2": 6.1},
  "units": {"length": "ft", "area": "ft²", "volume": "yd³", "weight": "short tons", "money": "USD"}
}
```

Every item has `warnings`, `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. **Pavers** = area × (1 + pattern waste) ÷ the face one paver covers with a 1/8 in joint, e.g. 6.125 × 9.125 in for a 6×9.
2. **Base**: 4 in of compacted 3/4 in minus gravel for patios and walkways (6 in on clay), 8 in for driveways (12 in on clay), 2 in more where it freezes; it reaches 6 in past the edges (12 in for driveways). Ordered 20% extra for compaction at 1.4 tons a cubic yard.
3. **Bedding**: 1 in of concrete sand, screeded. **Polymeric sand** = joint length per ft² (12/width + 12/length) × 1/8 in × paver thickness × 100 lb/ft³, plus 10%, in 50 lb bags.
4. **Edges**: plastic or aluminum edge restraint on every open edge with a 10 in spike each foot; none along the house.
5. **Permeable**: an open-graded #57 base 6 in or more (12 in for driveways) over fabric, 2 in of #8 chips, #8 chips in the joints.
6. **Drainage**: a 2% fall (1/4 in a foot) away from the house across the short side.
7. **Driveways**: 80 mm pavers in herringbone; large slabs are flagged.

### Pricing

You pay one low price per paved area, 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

- **Prices vary a lot**: give your paver price per square foot and your stone prices for a real total; the defaults are rough US retail, materials only (installed pavers typically run $15-30 per ft²).
- **Pallets** are counted at about 3,000 lb each; your supplier's pallet size and delivery fee decide the order.
- **Circles and curves** need more cuts; add waste for tight curves and borders (soldier courses).
- **Limits**: 200 requests per run; rectangles, L and T shapes, circles or a given area and perimeter.

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

```bash
curl -X POST "https://api.apify.com/v2/acts/jumblemog~paver-patio-calculator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"requests": ["12 x 16 ft patio with 6x9 pavers, herringbone, clay soil"]}'
```

`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/paver-patio-calculator").call(run_input={
    "requests": [{"length": 24, "width": 14, "paver": "6x9", "pattern": "herringbone 90", "soil": "clay"}],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["summary"])
```

### Credits

- Method: common Interlocking Concrete Pavement Institute (ICPI) style installation rules for base depth, bedding sand, edge restraint and slope; paver coverage and joint volume from the paver's size.
- 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 paved area per entry, as a line of text or an object. Give its size ('12 x 16 ft', '14 ft circle', '300 sq ft', 'walkway 30 ft long 4 ft wide', '20x12 plus 10x8' for an L, '5 x 6 m'), the paver ('4x8', '6x9', '12x12', '24x24 slabs', 'ashlar', '80 mm'), the pattern ('running bond', 'herringbone', '45 degree herringbone', 'basketweave'), the use ('patio', 'walkway', 'pool deck', 'driveway'), the ground ('clay', 'cold winters'), 'permeable', 'against the house', and prices ('$4.25/sq ft'). Object fields: length, width, diameter, area, perimeter, extra, paver, thickness, pattern, use, soil, frost, permeable, againstHouse, waste, prices {pavers, base, sand, openStone, polymericSand, edging, fabric}, units, title, text.

## `paver` (type: `string`):

The paver when a request doesn't say (6x9 in by default).

## `pattern` (type: `string`):

The laying pattern when a request doesn't say (running bond by default).

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

A to-scale plan with the paver courses, the build-up and the materials cost.

## Actor input object example

```json
{
  "requests": [
    "12 x 16 ft patio with 6x9 pavers, running bond",
    "14 ft circle fire pit patio, 4x8 pavers, herringbone",
    "paver driveway 20 x 40 ft in clay, cold winters, 4x8 pavers 80 mm, 45 degree herringbone",
    "walkway 30 ft long 4 ft wide, 12x12 pavers, $4.25/sq ft",
    "L-shaped patio 20x12 plus 10x8 against the house, ashlar pattern",
    "300 sq ft permeable paver patio",
    {
      "length": 5,
      "width": 6,
      "units": "m",
      "paver": "24x24",
      "use": "pool deck"
    }
  ],
  "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": [
        "12 x 16 ft patio with 6x9 pavers, running bond",
        "14 ft circle fire pit patio, 4x8 pavers, herringbone",
        "paver driveway 20 x 40 ft in clay, cold winters, 4x8 pavers 80 mm, 45 degree herringbone",
        "walkway 30 ft long 4 ft wide, 12x12 pavers, $4.25/sq ft",
        "L-shaped patio 20x12 plus 10x8 against the house, ashlar pattern",
        "300 sq ft permeable paver patio",
        {
            "length": 5,
            "width": 6,
            "units": "m",
            "paver": "24x24",
            "use": "pool deck"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jumblemog/paver-patio-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": [
        "12 x 16 ft patio with 6x9 pavers, running bond",
        "14 ft circle fire pit patio, 4x8 pavers, herringbone",
        "paver driveway 20 x 40 ft in clay, cold winters, 4x8 pavers 80 mm, 45 degree herringbone",
        "walkway 30 ft long 4 ft wide, 12x12 pavers, $4.25/sq ft",
        "L-shaped patio 20x12 plus 10x8 against the house, ashlar pattern",
        "300 sq ft permeable paver patio",
        {
            "length": 5,
            "width": 6,
            "units": "m",
            "paver": "24x24",
            "use": "pool deck",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jumblemog/paver-patio-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": [
    "12 x 16 ft patio with 6x9 pavers, running bond",
    "14 ft circle fire pit patio, 4x8 pavers, herringbone",
    "paver driveway 20 x 40 ft in clay, cold winters, 4x8 pavers 80 mm, 45 degree herringbone",
    "walkway 30 ft long 4 ft wide, 12x12 pavers, $4.25/sq ft",
    "L-shaped patio 20x12 plus 10x8 against the house, ashlar pattern",
    "300 sq ft permeable paver patio",
    {
      "length": 5,
      "width": 6,
      "units": "m",
      "paver": "24x24",
      "use": "pool deck"
    }
  ]
}' |
apify call jumblemog/paver-patio-calculator --silent --output-dataset

```

## MCP server setup

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