Sin Calculator
Calculate sine in degrees or radians, or from opposite and hypotenuse lengths. Preserve tiny results, inspect limits and worked steps, and export full inputs.
Enter values to calculate.
Live graph
Interactive plot
Trust summary CVP VERIFIED · production STALE · CVP protocol 1.0.0-proposed · Core assurance · angle deg/rad andopposite/hypotenuse ratio
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- angle deg/rad andopposite/hypotenuse ratio
- Assurance
- Core
- Declared partition coverage
- PASS · 4/4 declared partitions (degree-angle, radian-angle, ratio, invalid) · Matrix
- Numerical scope
- 121fixedvectors
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- The real sine y = sin(θ) for an angle in degrees or radians. Default unit is degrees.
- Scope
- Real sine. The published engine is forward sin(θ). Opposite/hypotenuse is a local triangle convenience (hypotenuse > 0, opposite ≥ 0, opposite ≤ hypotenuse). Use Arcsin for the inverse API.
- Verification
- Engine tested · Source checked · v1.0.6 · CVP VERIFIED · production STALE · CVP protocol 1.0.0-proposed · Core assurance · angle deg/rad andopposite/hypotenuse ratio· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.0.6 · CVP protocol 1.0.0-proposed · Evidence 2026-10-28.meta-metrics-v2
- Verification revision
- 2026-10-28.meta-metrics-v2 · 3/3 property · digest 3211222bd364
- Legacy regression
- 11/11 tests · Production surface contract 6/6
- Trust layers
- Verification VERIFIED · Production STALE · Overall CVP state: VERIFIED_STALE under CVP 1.0.0-proposed
- CVP status
- STALE · attestation snapshot core 24b20dc706af ≠ live cvp_core_sha256 3211222bd364 (2026-10-28.meta-metrics-v2)
- Reference
- O1 model · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 121/121 golden · 4/4 CVP boundary · 31/31 invalid · 3/3 property · 2/2 metamorphic · 148/148 cross-interface · 1/1 cross-calculator · 6/6 CVP contract · Manifest
- Sources
- NIST Digital Library of Mathematical Functions, Chapter 4
- NIST DLMF §4.14
- CalculatorX mathematical conventions
- Evidence
- 7 legacy golden · 4 legacy boundary · legacy regression suite · 121/121 oracle-backed golden · 31/31 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Enter the angle θ
Angle mode takes θ in degrees or radians. Share URLs include theta and unit. An engine-linked Overview range slider on [−360°, 360°] (or [−2π, 2π]) writes θ through the same local engine. Typed θ outside that window still calculates; the slider clamps and the caption marks outside Overview.
Or use opposite / hypotenuse
A local right-triangle convenience: hypotenuse > 0, opposite ≥ 0, opposite ≤ hypotenuse. Share URLs still use θ. Use Arcsin for the published inverse.
Read sin(θ)
Exact labels appear for listed identities (30°, 90°, …). The explainer reverse-checks with arcsin of the principal value in [−90°, 90°]; angles outside that range cite odd symmetry, 360° period, or the equivalent principal angle.
Example calculations
Common configurations with formula and result.
sin(30°)
Classic half
sin(90°)
Unit circle at (0, 1)
sin(0)
Root of sine
Opposite / hypotenuse
sin = a/c
Sine common values
Common values at a glance.
| θ (°) | θ (rad) | sin θ |
|---|---|---|
| −90° | −π/2 | −1 |
| −60° | −π/3 | −√3/2 |
| −45° | −π/4 | −√2/2 |
| −30° | −π/6 | −1/2 |
| 0° | 0 | 0 |
| 30° | π/6 | 1/2 |
| 45° | π/4 | √2/2 |
| 60° | π/3 | √3/2 |
| 90° | π/2 | 1 |
Sin calculator specification
Version 1.0.6 · Engine tested
- Engine tested 11/11 tests · Production surface contract 6/6
- Named expert review Not performed
- Calculation version 1.0.6
- Definition
- Sine of an angle θ is the ratio of the opposite side to the hypotenuse in a right triangle, and the y-coordinate on the unit circle. Range is [−1, 1]. The function is odd and 2π-periodic: sin(−θ) = −sin(θ) and sin(θ + 360°) = sin(θ).
- What it calculates
- The real sine y = sin(θ) for an angle in degrees or radians. Default unit is degrees.
- Inputs
- Angle θ (finite real)
- Optional unit: deg (default) or rad
- Outputs
- sin(θ) in [−1, 1]
- Formula
y = sin(θ_rad); θ_rad = θ° × π/180 when unit is deg- Assumptions
- Real sine. The published engine is forward sin(θ). Opposite/hypotenuse is a local triangle convenience (hypotenuse > 0, opposite ≥ 0, opposite ≤ hypotenuse). Use Arcsin for the inverse API.
- Algebraic snap applies only when the reduced angle (mod 360°) is a listed identity such as 0°, 30°, 45°, 60°, 90°. Nearby floats, including 30.00000005°, keep IEEE-754 Math.sin.
- Units
- Dimensionless sine value
- Degrees or radians for the angle
- Boundary conditions
- Missing θ returns MISSING_REQUIRED_INPUT. Invalid unit returns INVALID_UNIT. Malformed numbers, NaN, and ±Infinity return INVALID_NUMBER.
- sin(0°) = 0; sin(30°) = 1/2; sin(90°) = 1; sin(150°) = 1/2; sin(180°) = 0; sin(−θ) = −sin(θ).
- Numerical precision
- IEEE-754 binary64 Math.sin after converting degrees with θ × π/180. That raw value is the published REST/SSR number unless θ reduces exactly to a listed identity.
- Listed identities (0°, 30°, 45°, 60°, 90°, … mod 360°) return the algebraic value (so exact 180° is 0, not ~1e-16). There is no 1e-7° proximity snap.
- Display may show ≈ 0 when |y| < 1e-12 and the input is not a listed identity. That rounding is UI-only and is not applied to the engine number.
- The Result Card shows the degree → radian conversion next to the value (θ° = θ×π/180 rad) before sin(θ_rad). Shared URLs and REST use the same conversion.
- The reverse check uses arcsin principal value in [−90°, 90°]. For negative θ outside that range it cites odd symmetry; for |θ| ≥ 360° it cites 360° period; for θ in (90°, 270°) it shows the equivalent principal angle. It never writes arcsin(y) ≈ θ when θ is outside [−90°, 90°].
- Mathematical domain is all real θ. Numerical input is a finite IEEE-754 binary64 value. Extremely large finite angles can lose low-order phase bits in binary64 before 2π reduction; the engine still returns Math.sin of that converted argument and does not claim a unique mathematical angle.
- Interactive evaluation runs in the browser. Shared URLs and REST use the same engine server-side.
- The Result Card includes an engine-linked Live graph of y = sin(θ) using the same Overview / Focus template as Log (Overview window ±360° or ±2π; same degree/radian conversion as the engine). Angle mode has an engine-linked Overview range slider on [−360°, 360°] (or [−2π, 2π] in radians): dragging it writes θ and updates the result, reverse check, and graph through the same local engine. Typed θ outside Overview still evaluates; the slider clamps and the graph offers Focus. Opposite/hypotenuse is a local triangle convenience: hypotenuse > 0, opposite ≥ 0, opposite ≤ hypotenuse.
- Example
- sin(30°) = 0.5; sin(π/6 rad) = 0.5; sin(47.1°) ≈ 0.7325428987873788
- Validation cases
30 published on this page · 11/11 tests · Production surface contract 6/6 · View evidence
- theta=-360, unit=deg → 0
- theta=-270, unit=deg → 1
- theta=-180, unit=deg → 0
- theta=-150, unit=deg → −1/2
- theta=-90, unit=deg → −1
- theta=-60, unit=deg → −√3/2
- theta=-45, unit=deg → −√2/2
- theta=-30, unit=deg → −1/2
- theta=0, unit=deg → 0
- theta=30, unit=deg → 0.5
- theta=45, unit=deg → √2/2
- theta=60, unit=deg → √3/2
- theta=90, unit=deg → 1
- theta=120, unit=deg → √3/2
- theta=150, unit=deg → 0.5 (principal arcsin = 30°)
- theta=180, unit=deg → 0
- theta=210, unit=deg → −0.5 (principal arcsin = −30°)
- theta=270, unit=deg → −1
- theta=360, unit=deg → 0
- theta=390, unit=deg → 0.5
- theta=720, unit=deg → 0
- theta=π/6, unit=rad → 0.5
- theta=30.00000005, unit=deg → IEEE-754 Math.sin (not snapped to 1/2)
- theta=47.1, unit=deg → 0.7325428987873788 (IEEE-754)
- empty theta → error MISSING_REQUIRED_INPUT
- theta=30, unit=foo → error INVALID_UNIT
- theta=abc → error INVALID_NUMBER
- theta=NaN → error INVALID_NUMBER
- theta=Infinity → error INVALID_NUMBER
- theta=1e16, unit=deg → IEEE-754 Math.sin after θ×π/180; low-order phase may be lost
- Sources
- NIST Digital Library of Mathematical Functions, Chapter 4 — Elementary FunctionsSupports: Sine as a standard trigonometric function with period 2π
- NIST DLMF §4.14 — Definitions and period of sine and cosineSupports: sin(θ) on the real line; odd function; degree input converted via θ° × π/180
- CalculatorX mathematical conventions — Degree default; listed-identity exact values; inverse is ArcsinSupports: Published engine is forward sin(θ) only. Algebraic snap is identity-only; |y|<1e-12 display rounding is UI-only.
- NIST Digital Library of Mathematical Functions, Chapter 4 — Elementary Functions
- Calculation version
- 1.0.6
Background
Interpretation and common distinctions.
What does this sin calculator compute?
Sine of an angle θ is the ratio of the opposite side to the hypotenuse in a right triangle, and the y-coordinate on the unit circle. Range is [−1, 1]. The function is odd and 2π-periodic: sin(−θ) = −sin(θ) and sin(θ + 360°) = sin(θ).
The published formula or method is y = sin(θ_rad); θ_rad = θ° × π/180 when unit is deg. The following references support the stated mathematics or method:
- NIST DLMF §4.14 — Trigonometric Functions: Definitions of sine, cosine, and tangent.
Which inputs and limits should you check?
Follow the selected angle unit and normalization policy. Degrees and radians are different representations of the same angle.
The worked example uses Classic half with sin(π/6). Compare it with the Example calculations and the complete result for the same inputs.
How can you verify and cite this result?
CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.sin v1.0.6 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.
Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.
What sine is
Sine is one of the six basic trigonometric functions. For an acute angle in a right triangle:
sin(θ) = opposite/hypotenuse
On the unit circle, sin(θ) is the y-coordinate after rotating by θ from the positive x-axis.
The result always lies in [−1, 1]. The period is 2π (360°), and sine is an odd function: sin(−θ) = −sin(θ).
Degrees or radians
| Unit | Typical use | Conversion |
|---|---|---|
| Degrees (°) | Geometry, surveying | θ(rad) = θ° × π/180 |
| Radians | Calculus, most code / stats libraries | θ° = θ(rad) × 180/π |
Example: sin(π/6) = sin(30°) = 1/2.
Periodicity and symmetry
sin(θ + 360°) = sin(θ), sin(θ + 2π) = sin(θ)
sin(−θ) = −sin(θ)
Roots (zeros): θ = kπ for integer k.
Graph sketch
Plotting this calculator’s angle (in degrees) against sin(θ):
y = sin(θ)
- Period 360° (2π); odd: sin(−θ)=−sin(θ)
- At 0°, y=0; at 90°, y=1; at 180°, y=0
Use Arcsin for the published inverse.
CVP (Calculator Verification Protocol)
Math graph pilot under CVP 1.0 Proposed. Profile: core (pure sine transform, not an engineering model).
- Evidence Manifest: /evidence/math.sin/1.0.6.cvp.json
- Reproduce: /evidence/math.sin/reproduce — tabulated O3 inputs, expected values, generator, and re-run commands
- Independent reference: O1 (NIST DLMF model) + O3 mpmath/MPFR expected values and numerical behavior + O2 live identities
- Numerical policy: IEEE-754 binary64; 121fixedvectors
declared_before_evaluation=true - Cross-calculator (
CVP-XCAL-01):sin²θ + cos²θ = 1vs published Cos;sin(arcsin x) = xvs published Arcsin for x ∈ (−1,1). Listed Tan / Arccos do not share those identities (N/A). Huge angles are N/A after binary64 phase-bit loss. - Interfaces: UI (SSR), REST, and MCP must agree. A separate integration check covers URL → result → Live graph.
ui-ssris not a live browser session. - Versions stay distinct: calculation
1.0.5· CVP Proposed 1.0 · evidence revision2026-09-08.xcal. Adding verification does not by itself change the sine algorithm. - Expert review is optional and is not required for CVP Verified.
Accepted inputs and precision
math.sin supports angle mode and the existing right-triangle ratio mode through the same local, SSR, REST and MCP engine. Angle mode uses finite binary64 θ with deg (default) or rad; aliases theta/t/angle/thetaInput and unit/unitInput must agree. Ratio mode uses finite opposite ≥0, hypotenuse >0 and opposite ≤hypotenuse; aliases opposite/oppInput and hypotenuse/hypInput must agree. Lengths need the same unit. Angle fields in ratio mode and side fields in angle mode are rejected. Unknown keys and duplicate shared-query keys are rejected. Missing mode defaults to angle; null/blank unit defaults to degrees. Empty or null numeric fields remain errors rather than default zero.
Numeric source text is strict decimal/scientific notation, at most 512 characters, without grouped numbers, hexadecimal or boolean coercion. A nonzero textual value that becomes zero in binary64 rejects NUMERIC_UNDERFLOW before computation. Raw JSON number literals receive the corresponding lossy-parse guard. Nonzero degree sine or nonzero side ratio that rounds to zero rejects RESULT_UNDERFLOW; finite nonzero subnormal results are preserved. Invalid results disable exports.
Degrees are reduced with a signed remainder before multiplication by π/180, then evaluated around a nearby quadrant. This avoids the loss introduced by adding360 near zero or by converting huge degrees first. Only listed degree identities and 17 specific normalized binary64 radian tokens within ±2π use symbolic recognition. The radian tokens are a documented symbolic convention, not mathematical exactness of floating-point π. Neighboring representable angles are not snapped. Generic radians use Math.sin of the accepted binary64 input. Results may legitimately round to ±1; relative sensitivity is unbounded near zeros, and large input spacing can lose intended phase before calculation.
The scalar result has a 2 ULP fixed-vector comparison budget with exact zero, sign and number type. The independent reference uses CPython Decimal420/620 Taylor series and Machin π plus Fraction ratios, never the production Math.sin. Both precisions must round to the same expected binary64. 121 independent vectors, strict comparator negative controls and invalid-input partitions cover published modes and boundaries; they do not prove the whole real line or cross-runtime bitwise agreement. All18 legacy O3 table values remain separately checked; previous1.0.5 pins and tables stay immutable. This is implementation verification, not third-party certification.
The main result normally uses12 significant digits, falling back to full binary64 text if that would change a nonzero or ±1 boundary. Full scalar and original inputs remain in native JSON/CSV. A ratio and any rounded derived angle are distinct; a derived angle is not independent validation of the ratio. Angle plots are omitted for |θ|>1e6 and in ratio mode; exact input text and numerical results remain available. The plot is a visualization, not an independent reference.
Typing computes locally. Shared URLs and REST/MCP send input parameters and may enter browser/server logs; no zero-log or whole-site network privacy guarantee is made. Mathematical definitions and series: NIST DLMF trigonometric definitions and DLMF power series.
Related tools
Other calculators in this family: Arccos Calculator, Arcsin Calculator, Arctan Calculator, Cos Calculator, Pythagorean Theorem Calculator, Tan Calculator, Triangle Solver . Explore all Trigonometry & Triangles.
Frequently asked questions
Key distinctions behind the calculation.
What is the sine function?
In a right triangle, sin(θ) = opposite / hypotenuse (acute θ). On the unit circle, sin(θ) is the y-coordinate after a rotation by θ.
Should I use degrees or radians?
Use the unit stated in your problem. Libraries and statistics software often expect radians; convert with θ_rad = θ° × π/180.
What is the range of sin?
Always between −1 and 1 inclusive.
Why does sine repeat every 360°?
Sine is periodic with period 360° (2π radians): sin(θ + 360°) = sin(θ).
Is sine an odd function?
Yes. sin(−θ) = −sin(θ).
What is sin(30°)?
Exactly 1/2 (0.5).
How do I find the angle from a sine value?
Use the Arcsin calculator for the principal value in [−90°, 90°].