# Bicycle Gear Table Calculator

> Bicycle Gear Table Calculator is a paid API for AI agents from bike-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns a full gear-inch and speed table for every chainring/cog combination in a drivetrain, including range, step percentages, and duplicate gears.

## Facts

- Endpoint: GET https://bike-calc.x402tookit.com/gear-table?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bicycle-gear-table-calculator-1939776e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ieJywkF3fAsAYlVehqT2A

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 bicycle-gear-table-calculator-1939776e
```

Example prompt: Show me the full gear table for a road bike with 50 and 34 chainrings, an 11-12-13-14-15-17-19-21-24-28 cassette, 700x25c tyres, and 90 rpm cadence — including gear inches, speed per gear, the range, any duplicate gears, and the steps between combinations.

## When to prefer this

Use this endpoint when you need a complete drivetrain gear table across all combinations, not just a single gear calculation. It is ideal for comparing full groupsets, auditing for duplicate gears, assessing overall range, or generating a printable gear chart. For a single chainring/cog pair calculation, use the sibling single-gear endpoint instead.

## Known failure modes

- Missing required 'chainrings' or 'cogs' parameter returns an error
- Non-numeric or malformed comma-separated values cause a parse error
- Invalid tyre preset string falls back to default or returns an error
- Cadence of zero or negative value may produce invalid speed results
- Very large numbers of chainrings/cogs may time out or produce oversized responses

## How this service works

Gear inches and speed at a cadence for every chainring and cog in a drivetrain, with the range, steps and duplicate gears.

## Output

A structured table of every chainring-cog combination with gear ratio, gear inches, and speed at the specified cadence, plus summary statistics: lowest gear, highest gear, total range as a percentage, number of combinations, number of duplicate gears, and percentage steps between adjacent gears sorted by ratio.

## 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": [
      "chainrings",
      "cogs"
     ],
     "properties": {
      "cogs": {
       "type": "string",
       "description": "Comma-separated cog teeth, for example 11,12,13,14,15,17,19,21,24,28"
      },
      "wheel": {
       "type": "string",
       "description": "Tyre preset: 700x23c, 700x25c, 700x28c, 700x32c, 700x35c, 700x38c, 26x2.0 (default 700x25c)"
      },
      "cadence": {
       "type": "number",
       "description": "Cadence in rpm for the speed column (default 90)"
      },
      "chainrings": {
       "type": "string",
       "description": "Comma-separated chainring teeth, for example 50,34"
      },
      "circumferenceMm": {
       "type": "number",
       "description": "Rolling circumference in mm instead of a preset"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "cadenceRpm": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "lowestGear": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "cog": {
         "type": [
          "null",
          "number"
         ]
        },
        "ratio": {
         "type": [
          "null",
          "number"
         ]
        },
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bicycle-gear-table-calculator-1939776e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bike-calc.x402tookit.com](https://www.zero.xyz/host/bike-calc.x402tookit.com/llms.txt)
