{
  "id": "sine",
  "version": "60ededd41fc1",
  "status": "published",
  "name": "Sine Calculator",
  "question": "What is the sin of my angle?",
  "summary": "Finds sin θ of any angle in degrees or radians, with the exact value at multiples of 15°, csc θ, and the reference angle.",
  "category": "math",
  "subcategory": "trigonometry",
  "url": "https://www.acalculator.org/math/sine-calculator",
  "markdown": "https://www.acalculator.org/math/sine-calculator.md",
  "kind": "function",
  "method": "sin θ is the y value of the point at angle θ on the unit circle. At a multiple of 15° the exact value comes from the special angles and the quadrant sign; otherwise sin θ is computed in 64-bit floating point. csc θ = 1 ÷ sin θ.",
  "assumptions": [
    "The angle can be typed in degrees or radians, from −1,000,000 to 1,000,000 radians, and can be negative or more than 360°.",
    "An angle within one part in 10¹² of a multiple of 15° counts as that multiple, so sin 180° is exactly 0.",
    "csc θ shows nothing where sin θ = 0 (0°, 180°, 360°, …)."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "angle": {
        "title": "Angle θ",
        "description": "Any angle, in degrees or radians; a negative angle turns clockwise.",
        "type": [
          "number",
          "string"
        ],
        "x-quantity": "angle",
        "minimum": -1000000,
        "maximum": 1000000
      }
    }
  },
  "outputs": {
    "sin": {
      "label": "sin θ",
      "description": "Sine of θ: the y value of the point at angle θ on the unit circle.",
      "format": "number"
    },
    "exact": {
      "label": "Exact value",
      "description": "The value as a fraction and square roots, for angles that are a multiple of 15°.",
      "format": "text"
    },
    "csc": {
      "label": "csc θ",
      "description": "1 ÷ sin θ; empty where sin θ = 0.",
      "format": "number"
    },
    "reference": {
      "label": "Reference angle",
      "description": "The acute angle between θ and the x-axis, from 0° to 90°.",
      "format": "quantity",
      "unit": "deg"
    },
    "quadrant": {
      "label": "Quadrant",
      "description": "Where θ ends on the unit circle.",
      "format": "text"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "angle": 0.5235987755982988
    },
    "outputs": {
      "sin": 0.5,
      "exact": "sin 30° = 1/2",
      "csc": 2,
      "reference": 0.5235987755982988,
      "quadrant": "Quadrant I"
    },
    "text": "sin(30°) = 0.5."
  },
  "examples": [
    {
      "given": {
        "angle": 0.5235987755982988
      },
      "expect": {
        "sin": 0.5,
        "exact": "sin 30° = 1/2",
        "csc": 2,
        "reference": 0.5235987755982988,
        "quadrant": "Quadrant I"
      },
      "source": "OpenStax, Algebra and Trigonometry 2e, §7.3 Unit Circle (special angles: sin 30° = 1/2, sin 45° = √2/2). https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-3-unit-circle"
    },
    {
      "given": {
        "angle": 3.9269908169872414
      },
      "expect": {
        "sin": -0.7071067811865476,
        "exact": "sin 225° = -√2/2",
        "quadrant": "Quadrant III",
        "reference": 0.7853981633974483
      },
      "source": "hand calculation in content.mdx: 225° is in quadrant III, reference angle 45°, sine negative; OpenStax, Algebra and Trigonometry 2e, §7.3 Unit Circle (special angles: sin 30° = 1/2, sin 45° = √2/2). https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-3-unit-circle"
    },
    {
      "given": {
        "angle": 3.141592653589793
      },
      "expect": {
        "sin": 0,
        "exact": "sin 180° = 0",
        "quadrant": "On the negative x-axis"
      },
      "source": "hand calculation in content.mdx: the unit circle point at 180° is (−1, 0), so csc is undefined; OpenStax, Algebra and Trigonometry 2e, §7.3 Unit Circle (special angles: sin 30° = 1/2, sin 45° = √2/2). https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-3-unit-circle"
    },
    {
      "given": {
        "angle": 1
      },
      "expect": {
        "sin": 0.8414709848078965,
        "csc": 1.1883951057781212
      },
      "source": "NIST DLMF §4.14 (sine of a real angle), https://dlmf.nist.gov/4.14; Python 3: math.sin(1), 1/math.sin(1)"
    },
    {
      "given": {
        "angle": 3.490658503988659
      },
      "expect": {
        "sin": -0.34202014332566866,
        "quadrant": "Quadrant III"
      },
      "source": "NIST DLMF §4.14, https://dlmf.nist.gov/4.14; Python 3: math.sin(math.radians(200))"
    }
  ],
  "sources": [
    "OpenStax, Algebra and Trigonometry 2e, §7.3 Unit Circle (sine as the y value on the unit circle; special angles). https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-3-unit-circle (retrieved 2026-10-01)",
    "OpenStax, Algebra and Trigonometry 2e, §7.4 The Other Trigonometric Functions (csc θ = 1 ÷ sin θ). https://openstax.org/books/algebra-and-trigonometry-2e/pages/7-4-the-other-trigonometric-functions (retrieved 2026-10-01)",
    "NIST Digital Library of Mathematical Functions, §4.14 Definitions and Periodicity (trigonometric functions). https://dlmf.nist.gov/4.14 (retrieved 2026-10-01)"
  ],
  "related": [
    "cosine",
    "tangent",
    "inverse-sine",
    "law-of-sines"
  ],
  "changelog": []
}
