{
  "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": "irregular-area-offsets-coordinates-calculator",
  "category": "measurements-conversions",
  "title": "Irregular Area Calculator (Offsets and Coordinates)",
  "description": "The area of a plot, bed or slab that is not a rectangle, from offsets off a baseline by the trapezoidal or Simpson's rule, or from its corner coordinates.",
  "url": "https://craftquantities.com/calculators/measurements-conversions/irregular-area-offsets-coordinates-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/irregular-area-offsets-coordinates-calculator.json",
  "inputCount": 32,
  "testCaseCount": 5,
  "sourceCount": 2,
  "lastVerified": "2026-09-22",
  "citation": {
    "author": "Craft Quantities",
    "title": "Irregular Area Calculator (Offsets and Coordinates)",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-22",
    "url": "https://craftquantities.com/calculators/measurements-conversions/irregular-area-offsets-coordinates-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. Irregular Area Calculator (Offsets and Coordinates). Version 1.0.0. Sources checked 2026-09-22. https://craftquantities.com/calculators/measurements-conversions/irregular-area-offsets-coordinates-calculator/",
      "apa": "Craft Quantities. (2026). Irregular Area Calculator (Offsets and Coordinates) (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/measurements-conversions/irregular-area-offsets-coordinates-calculator/",
      "harvard": "Craft Quantities (2026) Irregular Area Calculator (Offsets and Coordinates) (Version 1.0.0). Available at: https://craftquantities.com/calculators/measurements-conversions/irregular-area-offsets-coordinates-calculator/",
      "bibtex": "@misc{craftquantities-calculators-measurements-conversions-irregular-area-offsets-coordinates-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Irregular Area Calculator (Offsets and Coordinates)},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/measurements-conversions/irregular-area-offsets-coordinates-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "measurement",
      "label": "What You Measured",
      "type": "select",
      "defaultValue": "offsets",
      "options": [
        {
          "value": "offsets",
          "label": "Offsets square off a baseline at a fixed interval"
        },
        {
          "value": "coordinates",
          "label": "The coordinates of the corners"
        }
      ],
      "help": "Offsets for a wandering edge measured off a straight line; coordinates for a plot with a survey."
    },
    {
      "id": "rule",
      "label": "Rule for the Offsets",
      "type": "select",
      "defaultValue": "trapezoidal",
      "options": [
        {
          "value": "trapezoidal",
          "label": "Trapezoidal — straight lines between offsets"
        },
        {
          "value": "simpson",
          "label": "Simpson's rule — curves through each three offsets"
        }
      ],
      "help": "Trapezoidal treats the edge as straight between stations; Simpson's rule fits a curve through them."
    },
    {
      "id": "interval",
      "label": "Interval Between Offsets",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2,
      "min": 0.05,
      "max": 200,
      "step": 0.05,
      "help": "The fixed distance along the baseline between one offset and the next."
    },
    {
      "id": "offsetCount",
      "label": "Number of Offsets (2 to 11)",
      "type": "number",
      "defaultValue": 10,
      "min": 2,
      "max": 11,
      "step": 1,
      "help": "How many offsets you took, including the first and the last; the fields after that count are ignored."
    },
    {
      "id": "offset1",
      "label": "Offset 1",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.6,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 1."
    },
    {
      "id": "offset2",
      "label": "Offset 2",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 2."
    },
    {
      "id": "offset3",
      "label": "Offset 3",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.4,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 3."
    },
    {
      "id": "offset4",
      "label": "Offset 4",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.8,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 4."
    },
    {
      "id": "offset5",
      "label": "Offset 5",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2.5,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 5."
    },
    {
      "id": "offset6",
      "label": "Offset 6",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 6."
    },
    {
      "id": "offset7",
      "label": "Offset 7",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.5,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 7."
    },
    {
      "id": "offset8",
      "label": "Offset 8",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.1,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 8."
    },
    {
      "id": "offset9",
      "label": "Offset 9",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.9,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 9."
    },
    {
      "id": "offset10",
      "label": "Offset 10",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.7,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 10."
    },
    {
      "id": "offset11",
      "label": "Offset 11",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 500,
      "step": 0.01,
      "help": "The distance square off the baseline to the edge at station 11."
    },
    {
      "id": "cornerCount",
      "label": "Number of Corners (3 to 8)",
      "type": "number",
      "defaultValue": 4,
      "min": 3,
      "max": 8,
      "step": 1,
      "help": "How many corners the polygon has; the coordinate fields after that count are ignored."
    },
    {
      "id": "x1",
      "label": "Corner 1 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 1, from any fixed origin."
    },
    {
      "id": "y1",
      "label": "Corner 1 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 1, from any fixed origin."
    },
    {
      "id": "x2",
      "label": "Corner 2 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 100,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 2, from any fixed origin."
    },
    {
      "id": "y2",
      "label": "Corner 2 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 2, from any fixed origin."
    },
    {
      "id": "x3",
      "label": "Corner 3 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 80,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 3, from any fixed origin."
    },
    {
      "id": "y3",
      "label": "Corner 3 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 80,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 3, from any fixed origin."
    },
    {
      "id": "x4",
      "label": "Corner 4 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 20,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 4, from any fixed origin."
    },
    {
      "id": "y4",
      "label": "Corner 4 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 80,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 4, from any fixed origin."
    },
    {
      "id": "x5",
      "label": "Corner 5 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 5, from any fixed origin."
    },
    {
      "id": "y5",
      "label": "Corner 5 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 5, from any fixed origin."
    },
    {
      "id": "x6",
      "label": "Corner 6 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 6, from any fixed origin."
    },
    {
      "id": "y6",
      "label": "Corner 6 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 6, from any fixed origin."
    },
    {
      "id": "x7",
      "label": "Corner 7 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 7, from any fixed origin."
    },
    {
      "id": "y7",
      "label": "Corner 7 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 7, from any fixed origin."
    },
    {
      "id": "x8",
      "label": "Corner 8 Easting (x)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The east–west coordinate of corner 8, from any fixed origin."
    },
    {
      "id": "y8",
      "label": "Corner 8 Northing (y)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 5000,
      "step": 0.01,
      "help": "The north–south coordinate of corner 8, from any fixed origin."
    }
  ],
  "sources": [
    {
      "label": "Area by offsets from a straight baseline (Ghilani and Wolf, Elementary Surveying: An Introduction to Geomatics): trapezoidal rule A = d × (o1/2 + o2 + … + on−1 + on/2); Simpson's one-third rule A = (d/3) × (o1 + 4o2 + 2o3 + 4o4 + … + on) over an even number of intervals"
    },
    {
      "label": "Area by coordinates, the shoelace formula: A = ½ × |Σ (xi × yi+1 − xi+1 × yi)| taken round the polygon in order (Ghilani and Wolf, Elementary Surveying)"
    }
  ],
  "testCases": [
    {
      "name": "The plot guide's field by two offsets: 100 m and 60 m, 80 m apart",
      "inputs": {
        "measurement": "offsets",
        "rule": "trapezoidal",
        "interval": 80,
        "offsetCount": 2,
        "offset1": 100,
        "offset2": 60,
        "cornerCount": 4
      },
      "expected": 6400,
      "toleranceDecimalPlaces": 3,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Baseline length",
          "value": 80,
          "unit": "m"
        },
        {
          "label": "Area by the trapezoidal rule",
          "value": 6400,
          "unit": "m²"
        },
        {
          "label": "Area by Simpson's rule",
          "value": 6400,
          "unit": "m²"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "The same field by its corners",
      "inputs": {
        "measurement": "coordinates",
        "rule": "trapezoidal",
        "interval": 2,
        "offsetCount": 2,
        "cornerCount": 4,
        "x1": 0,
        "y1": 0,
        "x2": 100,
        "y2": 0,
        "x3": 80,
        "y3": 80,
        "x4": 20,
        "y4": 80
      },
      "expected": 6400,
      "toleranceDecimalPlaces": 3,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Corners",
          "value": 4,
          "unit": "corners"
        },
        {
          "label": "Perimeter round the corners",
          "value": 324.9242250247064,
          "unit": "m"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "The mulch guide's border: ten offsets at 2 m, trapezoidal",
      "inputs": {
        "measurement": "offsets",
        "rule": "trapezoidal",
        "interval": 2,
        "offsetCount": 10,
        "cornerCount": 4,
        "offset1": 0.6,
        "offset2": 1,
        "offset3": 1.4,
        "offset4": 1.8,
        "offset5": 2.5,
        "offset6": 2,
        "offset7": 1.5,
        "offset8": 1.1,
        "offset9": 0.9,
        "offset10": 0.7
      },
      "expected": 25.7,
      "toleranceDecimalPlaces": 3,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Baseline length",
          "value": 18,
          "unit": "m"
        },
        {
          "label": "Area by the trapezoidal rule",
          "value": 25.700000000000003,
          "unit": "m²"
        },
        {
          "label": "Area by Simpson's rule",
          "value": 25.53333333333333,
          "unit": "m²"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Seven offsets at 10 m by Simpson's rule",
      "inputs": {
        "measurement": "offsets",
        "rule": "simpson",
        "interval": 10,
        "offsetCount": 7,
        "cornerCount": 4,
        "offset1": 0,
        "offset2": 2.5,
        "offset3": 3.5,
        "offset4": 5,
        "offset5": 4.6,
        "offset6": 3.2,
        "offset7": 0
      },
      "expected": 196.6667,
      "toleranceDecimalPlaces": 3,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Baseline length",
          "value": 60,
          "unit": "m"
        },
        {
          "label": "Area by the trapezoidal rule",
          "value": 188,
          "unit": "m²"
        },
        {
          "label": "Area by Simpson's rule",
          "value": 196.66666666666669,
          "unit": "m²"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "An L-shaped plot by its six corners",
      "inputs": {
        "measurement": "coordinates",
        "rule": "trapezoidal",
        "interval": 2,
        "offsetCount": 2,
        "cornerCount": 6,
        "x1": 0,
        "y1": 0,
        "x2": 40,
        "y2": 0,
        "x3": 40,
        "y3": 20,
        "x4": 25,
        "y4": 20,
        "x5": 25,
        "y5": 35,
        "x6": 0,
        "y6": 35
      },
      "expected": 1175,
      "toleranceDecimalPlaces": 3,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Corners",
          "value": 6,
          "unit": "corners"
        },
        {
          "label": "Perimeter round the corners",
          "value": 150,
          "unit": "m"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    }
  ]
}
