# Tile Calculator

> Tile Calculator is a paid API for AI agents from construction-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Calculates the number of tiles needed for a floor or wall from room/area dimensions, tile size, grout gap, and waste percentage, optionally returning box count.

## Facts

- Endpoint: GET https://construction-calc.x402tookit.com/tile-calc?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tile-calculator-27aa3d86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VrjX7RWw5udcJQyWHpqIn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tile-calculator-27aa3d86
```

Example prompt: How many 12x24-inch tiles do I need for a 10 ft by 14 ft bathroom floor, with a 3/16-inch grout gap and 10% waste? The boxes have 8 tiles each.

## When to prefer this

Use this endpoint when you need a precise, parameterized tile quantity estimate that accounts for grout joints and waste percentage, especially when the user wants a box-level purchase recommendation. Prefer over manual calculation or generic area calculators because it handles grout gap adjustments, waste factors for pattern/diagonal layouts, and converts directly to purchase quantities.

## Known failure modes

- Missing required tileWidthIn or tileHeightIn returns a validation error
- Neither areaSqFt nor both lengthFt and widthFt provided results in an error
- Nonsensical values (zero or negative dimensions) may produce errors or invalid results
- tilesPerBox not provided means box count will be null/absent in response

## How this service works

Tiles needed for a floor or wall from area or room size, tile size, grout gap and waste, plus boxes if you give tiles per box.

## Output

Returns the total area in sq ft, the exact tile count needed to cover it, tiles-with-waste (rounded up), tile coverage per tile in sq ft, and optionally the number of boxes to purchase along with extra tiles bought when rounding to full boxes. Also echoes back waste percentage used and includes a summary and disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "tileWidthIn",
      "tileHeightIn"
     ],
     "properties": {
      "widthFt": {
       "type": "number",
       "description": "Width in feet"
      },
      "areaSqFt": {
       "type": "number",
       "description": "Area in square feet (or give lengthFt and widthFt)"
      },
      "lengthFt": {
       "type": "number",
       "description": "Length in feet"
      },
      "wastePct": {
       "type": "number",
       "description": "Waste, default 10 (use 15 to 20 for diagonal or patterned)"
      },
      "groutGapIn": {
       "type": "number",
       "description": "Grout joint in inches, default 0.125"
      },
      "tileWidthIn": {
       "type": "number",
       "description": "Tile width in inches"
      },
      "tilesPerBox": {
       "type": "integer",
       "description": "Tiles in a box, to get the box count"
      },
      "tileHeightIn": {
       "type": "number",
       "description": "Tile height in inches"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "boxes": {},
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "areaSqFt": {
       "type": [
        "null",
        "number"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "wastePct": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tile-calculator-27aa3d86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from construction-calc.x402tookit.com](https://www.zero.xyz/host/construction-calc.x402tookit.com/llms.txt)
