{
  "id": "swim-pace",
  "version": "df40e60db17e",
  "status": "published",
  "name": "Swim Pace Calculator",
  "question": "What is my swim pace per 100?",
  "summary": "Computes swimming pace per 100 meters or per 100 yards from distance and time, or the finish time or distance from a pace, with the average speed.",
  "category": "sports",
  "subcategory": "running",
  "url": "https://www.acalculator.org/sports/swim-pace-calculator",
  "markdown": "https://www.acalculator.org/sports/swim-pace-calculator.md",
  "kind": "formulas",
  "method": "pace = time ÷ (distance ÷ 100 m), or time ÷ (distance ÷ 100 yd) with 1 yd = 0.9144 m; speed = distance ÷ time.",
  "assumptions": [
    "The pace is the average over the whole swim, turns and rests included.",
    "Finish time and paces are rounded to the nearest second for display.",
    "The distance is at least 1 meter, and the time and the pace are at least 1 second."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "d": {
        "title": "Distance",
        "description": "The distance swum. A mile swim is 1,650 yd in a pool, an Olympic triathlon swim 1,500 m.",
        "type": [
          "number",
          "string"
        ],
        "x-quantity": "length",
        "minimum": 1
      },
      "t": {
        "title": "Time",
        "description": "The time taken for the whole distance.",
        "type": [
          "number",
          "string"
        ],
        "x-quantity": "time",
        "minimum": 1
      },
      "p": {
        "title": "Pace",
        "description": "The time taken for each 100 meters or each 100 yards.",
        "type": [
          "number",
          "string"
        ],
        "x-quantity": "time",
        "minimum": 1
      },
      "per": {
        "title": "Pace per",
        "description": "Whether the pace is the time per 100 meters or per 100 yards.",
        "type": "string",
        "enum": [
          "m",
          "yd"
        ]
      }
    }
  },
  "solve": {
    "fillAny": 2,
    "variables": [
      "d",
      "t",
      "p"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "distance": {
      "label": "Distance",
      "description": "The distance swum. A mile swim is 1,650 yd in a pool, an Olympic triathlon swim 1,500 m.",
      "format": "quantity"
    },
    "time": {
      "label": "Time",
      "description": "The time taken for the whole distance.",
      "format": "quantity"
    },
    "pace": {
      "label": "Pace",
      "description": "The time taken for each 100 meters or each 100 yards.",
      "format": "quantity"
    },
    "paceText": {
      "label": "Pace",
      "description": "The pace per 100 m or per 100 yd (as chosen), as m:ss with its unit, for example 2:00 per 100 m.",
      "format": "text"
    },
    "finish": {
      "label": "Finish time",
      "description": "The time for the whole distance, as h:mm:ss.",
      "format": "text"
    },
    "per100m": {
      "label": "Pace per 100 m",
      "description": "The time for each 100 meters, as m:ss.",
      "format": "text"
    },
    "per100yd": {
      "label": "Pace per 100 yd",
      "description": "The time for each 100 yards, as m:ss.",
      "format": "text"
    },
    "speed": {
      "label": "Average speed",
      "description": "The average speed: distance ÷ time.",
      "format": "quantity",
      "unit": "kmh"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "per": "m",
      "d": 1500,
      "t": 1800
    },
    "outputs": {
      "pace": 120,
      "paceText": "2:00 per 100 m",
      "finish": "30:00",
      "per100m": "2:00",
      "per100yd": "1:50",
      "speed": 0.8333333333333334
    },
    "text": "Swimming 1,640 yd in 30:00 is a pace of 2:00 per 100 m."
  },
  "examples": [
    {
      "given": {
        "per": "m",
        "d": 1500,
        "t": 1800
      },
      "expect": {
        "p": 120,
        "paceText": "2:00 per 100 m",
        "per100yd": "1:50",
        "finish": "30:00",
        "speed": 0.8333333333333334
      },
      "source": "hand calculation in content.mdx: 1,800 s ÷ 15 = 120 s; 120 × 0.9144 = 109.7 s = 1:50 per 100 yd; NIST SP 811 (2008), Appendix B: 1 yd = 0.9144 m exactly, https://www.nist.gov/pml/special-publication-811 (retrieved 2026-10-05); World Aquatics, Swimming: pools of 50 m (long course) and 25 m (short course); 1500 m freestyle, https://www.worldaquatics.com/swimming (retrieved 2026-10-05)",
      "tolerance": 1e-12
    },
    {
      "given": {
        "per": "yd",
        "d": 1508.76,
        "t": 1650
      },
      "expect": {
        "p": 100,
        "paceText": "1:40 per 100 yd",
        "per100m": "1:49",
        "finish": "27:30"
      },
      "source": "hand calculation in content.mdx: 1,650 s ÷ 16.5 = 100 s; 100 ÷ 0.9144 = 109.4 s = 1:49 per 100 m; NIST SP 811 (2008), Appendix B: 1 yd = 0.9144 m exactly, https://www.nist.gov/pml/special-publication-811 (retrieved 2026-10-05)",
      "tolerance": 1e-12
    },
    {
      "given": {
        "per": "m",
        "d": 400,
        "p": 95
      },
      "expect": {
        "t": 380,
        "finish": "6:20"
      },
      "source": "hand calculation in content.mdx: 4 × 95 s = 380 s = 6:20",
      "tolerance": 1e-12
    },
    {
      "given": {
        "per": "yd",
        "t": 3600,
        "p": 90
      },
      "expect": {
        "d": 3657.6
      },
      "source": "hand calculation in content.mdx: 3,600 ÷ 90 = 40 hundreds of yards = 4,000 yd = 3,657.6 m; NIST SP 811 (2008), Appendix B: 1 yd = 0.9144 m exactly, https://www.nist.gov/pml/special-publication-811 (retrieved 2026-10-05)",
      "tolerance": 1e-12
    }
  ],
  "sources": [
    "NIST SP 811 (2008), Appendix B: 1 yd = 0.9144 m exactly. https://www.nist.gov/pml/special-publication-811 (retrieved 2026-10-05)",
    "World Aquatics, Swimming: pool lengths and race distances. https://www.worldaquatics.com/swimming (retrieved 2026-10-05)"
  ],
  "related": [
    "pace",
    "vo2-max"
  ],
  "changelog": []
}
