{
  "id": "round-to-the-nearest-thousand",
  "version": "924b9f68f9b4",
  "status": "published",
  "name": "Round to the Nearest Thousand Calculator",
  "question": "Round to the nearest thousand?",
  "summary": "Rounds any number to the nearest thousand in exact decimals, and says which digit decides.",
  "category": "math",
  "subcategory": "arithmetic",
  "url": "https://www.acalculator.org/math/round-to-the-nearest-thousand-calculator",
  "markdown": "https://www.acalculator.org/math/round-to-the-nearest-thousand-calculator.md",
  "kind": "function",
  "method": "Look at the hundreds digit: 5 or more rounds the size of the number up to the next thousand; less than 5 keeps the thousands digit. Every digit to the right is dropped.",
  "assumptions": [
    "The number is taken as the decimal it is written as, so an exact halfway value is a true tie.",
    "Halves round away from zero (round half up on the size of the number): a negative number rounds like its size, with the minus sign kept."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "number": {
        "title": "Number to round",
        "description": "The number to round, as you would write it.",
        "type": "number"
      }
    }
  },
  "outputs": {
    "rounded": {
      "label": "Rounded number",
      "description": "The number rounded to the nearest thousand; halves round away from zero.",
      "format": "number"
    },
    "rule": {
      "label": "Why",
      "description": "The digit to the right of the thousands place, and what it does.",
      "format": "text"
    },
    "typed": {
      "label": "Number",
      "description": "The number to round, with every digit as typed, so the answer does not round it first.",
      "format": "text"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "number": 29504
    },
    "outputs": {
      "rounded": 30000,
      "rule": "The hundreds digit is 5, which is 5 or more, so the thousands digit goes up by 1.",
      "typed": "29,504"
    },
    "text": "29,504 rounded to the nearest thousand is 30,000."
  },
  "examples": [
    {
      "given": {
        "number": 29504
      },
      "expect": {
        "rounded": 30000,
        "rule": "The hundreds digit is 5, which is 5 or more, so the thousands digit goes up by 1."
      },
      "source": "OpenStax, Prealgebra 2e, section 1.1 Introduction to Whole Numbers (round 29,504 to the nearest thousand: 30,000), https://openstax.org/books/prealgebra-2e/pages/1-1-introduction-to-whole-numbers (retrieved 2026-11-01)"
    },
    {
      "given": {
        "number": 1234567
      },
      "expect": {
        "rounded": 1235000
      },
      "source": "hand calculation in content.mdx: the hundreds digit is 5; OpenStax, Prealgebra 2e, section 1.1 Introduction to Whole Numbers (round 29,504 to the nearest thousand: 30,000), https://openstax.org/books/prealgebra-2e/pages/1-1-introduction-to-whole-numbers (retrieved 2026-11-01)"
    },
    {
      "given": {
        "number": 499
      },
      "expect": {
        "rounded": 0,
        "rule": "The hundreds digit is 4, which is less than 5, so the thousands digit stays."
      },
      "source": "hand calculation in content.mdx; OpenStax, Prealgebra 2e, section 1.1 Introduction to Whole Numbers (round 29,504 to the nearest thousand: 30,000), https://openstax.org/books/prealgebra-2e/pages/1-1-introduction-to-whole-numbers (retrieved 2026-11-01)"
    },
    {
      "given": {
        "number": 500
      },
      "expect": {
        "rounded": 1000
      },
      "source": "hand calculation in content.mdx: exactly halfway, so up; OpenStax, Prealgebra 2e, section 1.1 Introduction to Whole Numbers (round 29,504 to the nearest thousand: 30,000), https://openstax.org/books/prealgebra-2e/pages/1-1-introduction-to-whole-numbers (retrieved 2026-11-01)"
    },
    {
      "given": {
        "number": -1500
      },
      "expect": {
        "rounded": -2000
      },
      "source": "hand calculation in content.mdx: 1,500 rounds to 2,000 and the minus sign stays; OpenStax, Prealgebra 2e, section 1.1 Introduction to Whole Numbers (round 29,504 to the nearest thousand: 30,000), https://openstax.org/books/prealgebra-2e/pages/1-1-introduction-to-whole-numbers (retrieved 2026-11-01)"
    }
  ],
  "sources": [
    "OpenStax, Prealgebra 2e, section 1.1 Introduction to Whole Numbers (how to round whole numbers; 29,504 to the nearest thousand is 30,000). Retrieved 2026-11-01. https://openstax.org/books/prealgebra-2e/pages/1-1-introduction-to-whole-numbers"
  ],
  "related": [
    "rounding",
    "round-to-the-nearest-tenth",
    "percentage"
  ],
  "changelog": []
}
