{
    "name": "Website Bandwidth Calculator",
    "url": "https://calculators.geekmidst.com/calculators/bandwidth-calculator",
    "markdown": "https://calculators.geekmidst.com/calculators/bandwidth-calculator.md",
    "category": "IT, networking & security",
    "description": "Estimate a website’s monthly data transfer in GB from page views and page size, and the average and recommended bandwidth in Mbps.",
    "summary": "Monthly transfer is page views × average page size. Spread over the seconds in a month, that gives the average bandwidth; a headroom factor covers busy hours.",
    "also_called": [
        "Website bandwidth calculator",
        "Hosting bandwidth calculator",
        "Data transfer 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": "page_views",
            "label": "Page views",
            "type": "number",
            "default": "100000"
        },
        {
            "name": "period",
            "label": "Page views per",
            "type": "segmented",
            "default": "month",
            "options": {
                "month": "Month",
                "day": "Day"
            }
        },
        {
            "name": "page_size",
            "label": "Average page size",
            "type": "number",
            "default": "2"
        },
        {
            "name": "size_unit",
            "label": "Size unit",
            "type": "segmented",
            "default": "mb",
            "options": {
                "kb": "KB",
                "mb": "MB",
                "gb": "GB"
            }
        },
        {
            "name": "days",
            "label": "Days in the month",
            "type": "number",
            "default": "30"
        },
        {
            "name": "headroom",
            "label": "Headroom factor",
            "type": "number",
            "default": "1.5",
            "unit": "×"
        }
    ],
    "outputs": [
        {
            "key": "gb_month",
            "label": "Data transfer per month",
            "format": "number"
        },
        {
            "key": "gb_month_headroom",
            "label": "Monthly transfer with headroom",
            "format": "number"
        },
        {
            "key": "tb_month",
            "label": "Data transfer per month",
            "format": "number"
        },
        {
            "key": "gib_month",
            "label": "Data transfer per month (binary)",
            "format": "number"
        },
        {
            "key": "avg_mbps",
            "label": "Average bandwidth",
            "format": "number"
        },
        {
            "key": "required_mbps",
            "label": "Bandwidth with headroom",
            "format": "number"
        }
    ],
    "formula": {
        "text": "Monthly bytes = Page views per month × Page size;  Average Mbps = Monthly bytes × 8 ÷ (Days × 86,400) ÷ 1,000,000;  With headroom = Average × Headroom factor",
        "variables": {
            "Page size": "decimal units: 1 MB = 1,000,000 bytes, 1 GB = 10⁹ bytes (1 GiB = 2³⁰ bytes)",
            "Headroom factor": "multiplier for peaks above the average"
        }
    },
    "worked_example": {
        "inputs": {
            "page_views": "100000",
            "period": "month",
            "page_size": "2",
            "size_unit": "mb",
            "days": "30",
            "headroom": "1.5"
        },
        "steps": [
            "Monthly transfer = 100,000 × 2 MB = 200,000 MB = 200 GB.",
            "Average = 200 × 10⁹ × 8 bits ÷ (30 × 86,400 s) = 617,284 bit/s = 0.617 Mbps.",
            "With a 1.5× headroom factor: 0.926 Mbps."
        ],
        "result": "100,000 page views a month at 2 MB each transfer 200 GB, an average of 0.62 Mbps (0.93 Mbps with 1.5× headroom)."
    },
    "interpretation": "Hosting plans usually quote monthly transfer in GB or TB; compare the monthly figure with your plan. The Mbps figures matter for self-hosting or a fixed-capacity link, where peak traffic, not the average, sets the requirement.",
    "assumptions": [
        "Every page view transfers the average page size; caching by browsers and CDNs is reflected only through the size you enter."
    ],
    "limitations": [
        "Downloads, video streaming, API calls and bot traffic add to real transfer and should be added separately.",
        "Traffic is rarely spread evenly, so a short spike can need many times the average bandwidth."
    ],
    "rules": null,
    "faqs": [
        {
            "question": "Why is GB different from GiB?",
            "answer": "Network and hosting figures usually use decimal gigabytes (10⁹ bytes); operating systems often report binary gibibytes (2³⁰ bytes), about 7% larger."
        },
        {
            "question": "How do I find my average page size?",
            "answer": "Open your browser’s developer tools, Network tab, reload the page and read the total transferred. Repeat for a few typical pages and average them."
        }
    ],
    "sources": [],
    "related": [
        {
            "name": "Base64 Encoder and Decoder",
            "url": "https://calculators.geekmidst.com/calculators/base64-encoder-decoder"
        },
        {
            "name": "URL Encoder and Decoder",
            "url": "https://calculators.geekmidst.com/calculators/url-encoder-decoder"
        },
        {
            "name": "Percentage Calculator",
            "url": "https://calculators.geekmidst.com/calculators/percentage-calculator"
        },
        {
            "name": "Data Transfer Time Calculator",
            "url": "https://calculators.geekmidst.com/calculators/data-transfer-time-calculator"
        },
        {
            "name": "Video Streaming Bandwidth Calculator",
            "url": "https://calculators.geekmidst.com/calculators/video-streaming-bandwidth-calculator"
        }
    ],
    "disclaimer": null,
    "publisher": "GM¹X CalcVerse"
}