AJ Designer

Trigonometry Equations Calculator

Trigonometry Sine (sin)

Solution

Share:

Trigonometric Functions

Pick any trigonometric function or its inverse, enter an angle (for direct) or a ratio (for inverse), and the calculator returns the result. Supports both degrees and radians.

sin(θ), cos(θ), tan(θ), ...

How It Works

Select a trig function from the pill toggle — sin, cos, tan, the reciprocals (csc, sec, cot), or an inverse (arcsin, arccos, arctan) — then enter the angle (or ratio for inverse). The calculator converts degrees to radians internally, evaluates the function using double-precision math, and shows the result along with a curve plot so you can see where your angle falls on the standard trigonometric wave. Inverse functions return the principal value: arcsin and arctan are in [−π/2, π/2], and arccos is in [0, π].

Example Problem

A surveyor sights the top of a 50 ft flagpole from 30 ft away on level ground. What is the angle of elevation θ?

  1. Identify the right triangle: the 30 ft horizontal distance is the adjacent side, the 50 ft flagpole height is the opposite side.
  2. Choose the trig function that uses opposite and adjacent: tangent, where tan(θ) = opposite / adjacent.
  3. Write tan(θ) = 50 / 30 ≈ 1.6667.
  4. Solve for θ by taking the inverse tangent: θ = arctan(1.6667).
  5. Compute arctan(1.6667) ≈ 1.0304 radians.
  6. Convert to degrees: θ ≈ 1.0304 × (180 / π) ≈ 59.04°. The line of sight rises at about 59° above horizontal.

The same tan/arctan pair relates any opposite/adjacent ratio to its angle — useful for roof pitches, ramp slopes, and camera tilts.

Key Concepts

The six trigonometric functions relate an acute angle θ in a right triangle to the ratios of its sides, and extend to all real angles via the unit circle. On a unit circle centered at the origin, the point at angle θ has coordinates (cos θ, sin θ), so cos θ is the x-coordinate and sin θ is the y-coordinate. The other four functions are derived: tan θ = sin θ / cos θ, and csc, sec, cot are the reciprocals of sin, cos, tan respectively. Inverse functions (arcsin, arccos, arctan) answer the opposite question — given a ratio, what angle produces it? — and each has a restricted range to ensure a unique answer. Two identities drive nearly every trig simplification: the Pythagorean identity sin²θ + cos²θ = 1 and the reciprocal identity tan θ = sin θ / cos θ.

Applications

  • Physics: resolving force and velocity vectors into components (Vx = V cos θ, Vy = V sin θ) for projectile motion and equilibrium
  • Construction and architecture: calculating roof pitches, ramp slopes, and rafter lengths from angles
  • Navigation and surveying: finding bearings, heights, and distances via the law of sines and the tangent of angles of elevation
  • Electrical engineering: computing AC-circuit phase angles, impedance, and power factor using sinusoidal functions
  • Computer graphics and animation: rotating 2D and 3D objects with rotation matrices built from sin and cos
  • Audio and signal processing: representing waves and frequencies with sinusoidal functions, Fourier analysis
  • Astronomy: computing parallax, celestial positions, and spherical distances with spherical trig

Common Mistakes

  • Confusing the reciprocal (csc = 1/sin) with the inverse (arcsin = sin⁻¹) — they are different functions even though both are sometimes written with an exponent −1
  • Using degrees in a formula that expects radians — most programming languages (JavaScript, Python, C) and calculus formulas use radians by default; a 360× scale error is a common source of bugs
  • Forgetting inverse-trig range restrictions — arcsin returns only values in [−π/2, π/2], so if your context demands an angle outside that range you must add π or 2π
  • Dividing by zero at tan(90°), csc(0°), sec(90°), or cot(0°) — these functions are undefined where their underlying sin or cos is zero
  • Assuming a calculator set to degree mode gives radians — always check the DEG/RAD indicator before trusting a result
  • Mixing up the adjacent and opposite sides — the adjacent is the leg that touches θ (other than the hypotenuse); the opposite is across from θ

Frequently Asked Questions

When do you use sine, cosine, and tangent in real life?

Any time you need to relate an angle to the sides of a right triangle. Carpenters use tangent to find roof rise from a pitch angle; surveyors use arctangent to find the angle of elevation to a landmark from a distance measurement; physicists use sine and cosine to split a velocity or force vector into horizontal and vertical components; pilots use trig for heading corrections under crosswind. Anywhere two perpendicular directions meet, trig turns the angle between them into a usable ratio (or vice versa).

What is SOHCAHTOA?

SOHCAHTOA is the memory aid for the three primary right-triangle definitions: Sine = Opposite / Hypotenuse, Cosine = Adjacent / Hypotenuse, Tangent = Opposite / Adjacent. "Opposite" is the side across from angle θ, "adjacent" is the non-hypotenuse side touching θ, and "hypotenuse" is the longest side, opposite the right angle. Some students pronounce it "so-ka-toh-ah"; others make up a sentence like "Some Old Horse Caught A Horse Taking Oats Away." Any mnemonic works as long as you reliably recall which ratio goes with which function.

What is the difference between degrees and radians?

Degrees divide a full circle into 360 parts; radians measure the angle by arc length along a unit circle, with a full circle equal to 2π radians. Convert degrees to radians by multiplying by π/180 (so 180° = π rad); convert the other way by multiplying by 180/π. Radians are the natural unit for calculus and physics because they simplify formulas — for example, d(sin θ)/dθ = cos θ only when θ is in radians.

How do inverse trigonometric functions work?

Inverse trig functions answer the reverse question: given a ratio, what angle produces it? arcsin(0.5) = 30° means sin(30°) = 0.5. Because trig functions are periodic (many angles produce the same ratio), each inverse is restricted to a principal-value range: arcsin returns angles in [−π/2, π/2], arccos in [0, π], and arctan in (−π/2, π/2). If your problem demands an angle outside that range (e.g., a second-quadrant angle whose cosine is negative), add or subtract π as needed.

What are the reciprocal trig functions csc, sec, and cot?

csc θ = 1 / sin θ (cosecant), sec θ = 1 / cos θ (secant), and cot θ = 1 / tan θ = cos θ / sin θ (cotangent). They appear most often in calculus and advanced trig identities. Each is undefined where its denominator hits zero — for example, csc is undefined at θ = 0, π, 2π, etc., and sec is undefined at θ = π/2, 3π/2, etc.

Why does tan(90°) throw an error?

Because tan(θ) = sin(θ) / cos(θ) and cos(90°) = 0, so tan(90°) divides by zero and is mathematically undefined. As θ approaches 90° from below, tan(θ) shoots up toward +∞; from above, it plunges to −∞. The calculator returns an "undefined" result for any input where sin, cos, or tan equals zero in a denominator.

What is the Pythagorean identity and why is it useful?

sin²(θ) + cos²(θ) = 1 for any angle θ. It follows directly from the unit circle: the point (cos θ, sin θ) lies on the circle of radius 1, so x² + y² = 1. The identity lets you convert between sin and cos without knowing θ — for example, if sin θ = 0.6 and θ is in the first quadrant, then cos θ = √(1 − 0.36) = 0.8. It is the foundation for many trig simplifications and for deriving other identities.

Trigonometric Functions

Based on a right triangle with angle θ:

sin(θ) = opposite / hypotenuse
cos(θ) = adjacent / hypotenuse
tan(θ) = opposite / adjacent = sin(θ) / cos(θ)
csc(θ) = 1 / sin(θ), sec(θ) = 1 / cos(θ), cot(θ) = 1 / tan(θ)

Where:

  • θ — the angle, measured in degrees or radians
  • opposite — the side across from angle θ
  • adjacent — the side next to angle θ (not the hypotenuse)
  • hypotenuse — the longest side, opposite the right angle
  • Inverse functions (arcsin, arccos, arctan) take a ratio and return the angle

The mnemonic SOHCAHTOA captures the three main definitions: Sin = Opposite/Hypotenuse, Cos = Adjacent/Hypotenuse, Tan = Opposite/Adjacent. Also remember the unit-circle identity sin²(θ) + cos²(θ) = 1 and that inverse functions return a single principal value in a restricted range.

Worked Examples

Construction — Roof Pitch

How do you find a roof's rise from its pitch angle?

A contractor specs a 30° roof pitch over a 16-foot horizontal run (half of a 32-foot house span). How tall is the ridge above the top plate?

  • Rise = run × tan(θ)
  • tan(30°) ≈ 0.5774
  • Rise = 16 ft × 0.5774 ≈ 9.24 ft
  • Ridge height ≈ 9 ft 3 in above the top plate

Roof pitch can also be expressed as rise-over-run (e.g., 7/12); tan(θ) = rise/run relates the two notations.

Navigation — Bearing and Distance

How do you find the heading from a north/east displacement?

A hiker walks 5 km north and then 3 km east of their starting point. What is their bearing from the starting point (measured clockwise from north)?

  • Bearing = arctan(east / north) = arctan(3 / 5)
  • arctan(0.6) ≈ 30.96°
  • Bearing ≈ 31° (N31°E)

Distance from the start = √(5² + 3²) ≈ 5.83 km (Pythagorean theorem). Real navigation on the globe uses spherical trig for distances over a few hundred kilometers.

Physics — Projectile Motion Components

How do you resolve a launch velocity into horizontal and vertical components?

A soccer ball is kicked at 20 m/s at an angle of 40° above the horizontal. Find the horizontal (Vx) and vertical (Vy) components of the initial velocity.

  • Vx = V × cos(θ) = 20 × cos(40°) ≈ 20 × 0.766 ≈ 15.32 m/s
  • Vy = V × sin(θ) = 20 × sin(40°) ≈ 20 × 0.643 ≈ 12.86 m/s
  • Vx ≈ 15.32 m/s (forward), Vy ≈ 12.86 m/s (upward)

Vy drops continuously under gravity while Vx stays constant (ignoring air drag). The two components add as vectors to recover the original 20 m/s at 40°.

Related Calculators

Related Sites