{
    "name": "Farm Gross Margin Calculator",
    "url": "https://calculators.geekmidst.com/calculators/farm-gross-margin-calculator",
    "markdown": "https://calculators.geekmidst.com/calculators/farm-gross-margin-calculator.md",
    "category": "Agriculture",
    "description": "Calculate a crop enterprise’s gross margin: output value minus variable costs (seed, fertiliser, sprays, fuel, labour), per acre, per hectare and in total.",
    "summary": "Gross margin is the value of what a crop produces minus the costs that vary with it. It is the standard way to compare enterprises before fixed costs.",
    "also_called": [
        "Crop gross margin calculator",
        "Enterprise margin calculator"
    ],
    "applies_to": "Worldwide",
    "last_updated": "2026-10-29",
    "computation": "Results are computed in the visitor’s browser on the HTML page. This API describes the calculator; it does not compute results.",
    "inputs": [
        {
            "name": "area",
            "label": "Crop area",
            "type": "number",
            "default": "20"
        },
        {
            "name": "area_unit",
            "label": "Area and figures per",
            "type": "segmented",
            "default": "ha",
            "options": {
                "acre": "Acre",
                "ha": "Hectare"
            }
        },
        {
            "name": "yield",
            "label": "Yield",
            "type": "number",
            "default": "6"
        },
        {
            "name": "price",
            "label": "Price per unit",
            "type": "number",
            "default": "220"
        },
        {
            "name": "other_income",
            "label": "Other output (optional)",
            "type": "number",
            "default": "0",
            "optional": true
        },
        {
            "name": "seed",
            "label": "Seed",
            "type": "number",
            "default": "120",
            "optional": true
        },
        {
            "name": "fertiliser",
            "label": "Fertiliser",
            "type": "number",
            "default": "260",
            "optional": true
        },
        {
            "name": "crop_protection",
            "label": "Crop protection",
            "type": "number",
            "default": "90",
            "optional": true
        },
        {
            "name": "fuel_machinery",
            "label": "Fuel, repairs and contractors",
            "type": "number",
            "default": "110",
            "optional": true
        },
        {
            "name": "labour",
            "label": "Casual labour",
            "type": "number",
            "default": "80",
            "optional": true
        },
        {
            "name": "other_costs",
            "label": "Other variable costs",
            "type": "number",
            "default": "40",
            "optional": true
        },
        {
            "name": "currency",
            "label": "Currency",
            "type": "currency",
            "default": "USD"
        }
    ],
    "outputs": [
        {
            "key": "gross_margin_total",
            "label": "Gross margin for the crop",
            "format": "currency"
        },
        {
            "key": "gross_output_total",
            "label": "Gross output",
            "format": "currency"
        },
        {
            "key": "variable_costs_total",
            "label": "Variable costs",
            "format": "currency"
        },
        {
            "key": "gross_margin_per_area",
            "label": "Gross margin per unit area entered",
            "format": "currency"
        },
        {
            "key": "gm_per_ha",
            "label": "Gross margin per hectare",
            "format": "currency"
        },
        {
            "key": "gm_per_acre",
            "label": "Gross margin per acre",
            "format": "currency"
        },
        {
            "key": "margin_pct",
            "label": "Margin as % of output",
            "format": "percent"
        }
    ],
    "formula": {
        "text": "Output = Yield × Price + Other output;  Gross margin = Output − Variable costs;  Total = per-area figure × Area",
        "variables": {
            "Variable costs": "costs that rise and fall with the crop area",
            "Area": "crop area in the chosen unit"
        }
    },
    "worked_example": {
        "inputs": {
            "area": "20",
            "area_unit": "ha",
            "yield": "6",
            "price": "220",
            "other_income": "0",
            "seed": "120",
            "fertiliser": "260",
            "crop_protection": "90",
            "fuel_machinery": "110",
            "labour": "80",
            "other_costs": "40",
            "currency": "USD"
        },
        "steps": [
            "Output = 6 t × $220 = $1,320/ha; variable costs = 120 + 260 + 90 + 110 + 80 + 40 = $700/ha.",
            "Gross margin = 1,320 − 700 = $620/ha (46.97% of output).",
            "For 20 ha: $12,400."
        ],
        "result": "The crop leaves a gross margin of $620 per hectare, or $12,400 across 20 ha, to cover fixed costs and profit."
    },
    "interpretation": "A positive gross margin contributes to fixed costs (rent, depreciation, permanent staff) and profit. Compare margins per hectare when choosing between crops.",
    "assumptions": [
        "All figures are per the same area unit.",
        "Fixed costs such as rent, depreciation and overheads are excluded by definition."
    ],
    "limitations": [
        "Gross margin is not profit; it ignores fixed costs and the farmer’s own labour."
    ],
    "rules": null,
    "faqs": [
        {
            "question": "What is the difference between gross margin and net profit?",
            "answer": "Gross margin subtracts only variable costs. Net profit also subtracts fixed costs such as rent, machinery depreciation, interest and overheads."
        },
        {
            "question": "Is my own labour a variable cost?",
            "answer": "Usually not; casual or contract labour hired for the crop is. Keep your own time as a fixed cost or account for it separately."
        }
    ],
    "sources": [],
    "related": [
        {
            "name": "Harvest Revenue Calculator",
            "url": "https://calculators.geekmidst.com/calculators/harvest-revenue-calculator"
        },
        {
            "name": "Crop Yield per Acre Calculator",
            "url": "https://calculators.geekmidst.com/calculators/crop-yield-per-acre-calculator"
        },
        {
            "name": "Profit Margin Calculator",
            "url": "https://calculators.geekmidst.com/calculators/profit-margin-calculator"
        },
        {
            "name": "Break-even Calculator",
            "url": "https://calculators.geekmidst.com/calculators/break-even-calculator"
        }
    ],
    "disclaimer": null,
    "publisher": "GM¹X CalcVerse"
}