{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "learning-curve-repetition-calculator",
  "category": "financial-adjacent",
  "title": "Repetition Learning Curve Calculator (Wright and Crawford)",
  "description": "Total, last-unit and average time for a run of repeated units, from the first unit's time and a learning rate, under Wright's or Crawford's model.",
  "url": "https://craftquantities.com/calculators/financial-adjacent/learning-curve-repetition-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/learning-curve-repetition-calculator.json",
  "inputCount": 4,
  "testCaseCount": 6,
  "sourceCount": 2,
  "lastVerified": "2026-09-22",
  "citation": {
    "author": "Craft Quantities",
    "title": "Repetition Learning Curve Calculator (Wright and Crawford)",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-22",
    "url": "https://craftquantities.com/calculators/financial-adjacent/learning-curve-repetition-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Repetition Learning Curve Calculator (Wright and Crawford). Version 1.0.0. Sources checked 2026-09-22. https://craftquantities.com/calculators/financial-adjacent/learning-curve-repetition-calculator/",
      "apa": "Craft Quantities. (2026). Repetition Learning Curve Calculator (Wright and Crawford) (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/financial-adjacent/learning-curve-repetition-calculator/",
      "harvard": "Craft Quantities (2026) Repetition Learning Curve Calculator (Wright and Crawford) (Version 1.0.0). Available at: https://craftquantities.com/calculators/financial-adjacent/learning-curve-repetition-calculator/",
      "bibtex": "@misc{craftquantities-calculators-financial-adjacent-learning-curve-repetition-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Repetition Learning Curve Calculator (Wright and Crawford)},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/financial-adjacent/learning-curve-repetition-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "firstUnit",
      "label": "Time for the First Unit (hours)",
      "type": "number",
      "defaultValue": 40,
      "min": 0.01,
      "max": 100000,
      "step": 0.5,
      "help": "The hours the first repetition took, or is expected to take."
    },
    {
      "id": "rate",
      "label": "Learning Rate (%)",
      "type": "number",
      "defaultValue": 90,
      "min": 50,
      "max": 100,
      "step": 1,
      "help": "The percentage the time falls to each time the number of units doubles."
    },
    {
      "id": "units",
      "label": "Number of Units",
      "type": "number",
      "defaultValue": 20,
      "min": 1,
      "max": 10000,
      "step": 1,
      "help": "How many repetitions in the run."
    },
    {
      "id": "model",
      "label": "Learning Curve Model",
      "type": "select",
      "defaultValue": "crawford",
      "options": [
        {
          "value": "crawford",
          "label": "Crawford — each unit's own time falls"
        },
        {
          "value": "wright",
          "label": "Wright — the running average falls"
        }
      ],
      "help": "Which quantity the learning rate applies to."
    }
  ],
  "sources": [
    {
      "label": "Crawford's unit learning curve: the time for the nth unit is T1 × n^b, where b = log(learning rate) ÷ log 2, so each doubling of the quantity multiplies the unit time by the learning rate; the run's total is the sum of the unit times"
    },
    {
      "label": "Wright's cumulative average learning curve (T. P. Wright, 1936, Factors Affecting the Cost of Airplanes): the average time over the first n units is T1 × n^b, so the run's total is n times that average and the nth unit takes the difference between successive totals; the same rate gives a different answer under the two models"
    }
  ],
  "testCases": [
    {
      "name": "The defaults: 20 units at 90%, Crawford",
      "inputs": {
        "firstUnit": 40,
        "rate": 90,
        "units": 20,
        "model": "crawford"
      },
      "expected": 584.310379,
      "toleranceDecimalPlaces": 3,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Time for unit 20, the last",
          "value": 25.368769782444453,
          "unit": "hours"
        },
        {
          "label": "Average time per unit",
          "value": 29.215518966080232,
          "unit": "hours"
        },
        {
          "label": "Time the run would take with no learning",
          "value": 800,
          "unit": "hours"
        },
        {
          "label": "Time the learning saves",
          "value": 215.68962067839539,
          "unit": "hours"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "The same run under Wright's model",
      "inputs": {
        "firstUnit": 40,
        "rate": 90,
        "units": 20,
        "model": "wright"
      },
      "expected": 507.375396,
      "toleranceDecimalPlaces": 3,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Time for unit 20, the last",
          "value": 21.596001187014622,
          "unit": "hours"
        },
        {
          "label": "Average time per unit",
          "value": 25.368769782444453,
          "unit": "hours"
        },
        {
          "label": "Time the run would take with no learning",
          "value": 800,
          "unit": "hours"
        },
        {
          "label": "Time the learning saves",
          "value": 292.6246043511109,
          "unit": "hours"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "Eight units at 85%, Crawford",
      "inputs": {
        "firstUnit": 120,
        "rate": 85,
        "units": 8,
        "model": "crawford"
      },
      "expected": 712.301398,
      "toleranceDecimalPlaces": 3,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Time for unit 8, the last",
          "value": 73.695,
          "unit": "hours"
        },
        {
          "label": "Average time per unit",
          "value": 89.03767469339871,
          "unit": "hours"
        },
        {
          "label": "Time the run would take with no learning",
          "value": 960,
          "unit": "hours"
        },
        {
          "label": "Time the learning saves",
          "value": 247.6986024528103,
          "unit": "hours"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Eight units at 85%, Wright",
      "inputs": {
        "firstUnit": 120,
        "rate": 85,
        "units": 8,
        "model": "wright"
      },
      "expected": 589.56,
      "toleranceDecimalPlaces": 3,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Time for unit 8, the last",
          "value": 57.28856511007291,
          "unit": "hours"
        },
        {
          "label": "Average time per unit",
          "value": 73.695,
          "unit": "hours"
        },
        {
          "label": "Time the run would take with no learning",
          "value": 960,
          "unit": "hours"
        },
        {
          "label": "Time the learning saves",
          "value": 370.44000000000005,
          "unit": "hours"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "No learning at 100%",
      "inputs": {
        "firstUnit": 10,
        "rate": 100,
        "units": 12,
        "model": "crawford"
      },
      "expected": 120,
      "toleranceDecimalPlaces": 3,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Time for unit 12, the last",
          "value": 10,
          "unit": "hours"
        },
        {
          "label": "Average time per unit",
          "value": 10,
          "unit": "hours"
        },
        {
          "label": "Time the run would take with no learning",
          "value": 120,
          "unit": "hours"
        },
        {
          "label": "Time the learning saves",
          "value": 0,
          "unit": "hours"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Two units at 80%, Wright",
      "inputs": {
        "firstUnit": 60,
        "rate": 80,
        "units": 2,
        "model": "wright"
      },
      "expected": 96,
      "toleranceDecimalPlaces": 3,
      "unit": "hours",
      "confidence": "medium",
      "steps": [
        {
          "label": "Time for unit 2, the last",
          "value": 36,
          "unit": "hours"
        },
        {
          "label": "Average time per unit",
          "value": 48,
          "unit": "hours"
        },
        {
          "label": "Time the run would take with no learning",
          "value": 120,
          "unit": "hours"
        },
        {
          "label": "Time the learning saves",
          "value": 24,
          "unit": "hours"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    }
  ]
}
