How the Trig Function Calculator Works
This calculator evaluates all six trigonometric functions — sine, cosine, tangent, cosecant, secant, and cotangent — for any angle you enter, in either degrees or radians. Trigonometric functions relate an angle to ratios of the sides of a right triangle, or equivalently to the x- and y-coordinates of a point on the unit circle.
Definitions from the unit circle
For an angle θ measured from the positive x-axis, place a point on the unit circle (radius 1) at that angle. By definition, the point's coordinates are (cos θ, sin θ). Tangent is the ratio tan θ = sin θ / cos θ, which also equals the slope of the line from the origin to that point. In a right triangle, the same functions equal sin θ = opposite/hypotenuse, cos θ = adjacent/hypotenuse, and tan θ = opposite/adjacent.
Reciprocal functions and identities
Cosecant, secant, and cotangent are defined as reciprocals: csc θ = 1/sin θ, sec θ = 1/cos θ, and cot θ = 1/tan θ = cos θ/sin θ. Every angle satisfies the Pythagorean identity sin²θ + cos²θ = 1, from which 1 + tan²θ = sec²θ and 1 + cot²θ = csc²θ follow directly. Sine, cosine, cosecant, and secant repeat every 360° (2π radians); tangent and cotangent repeat every 180° (π radians) because reflecting the point to the opposite side of the circle leaves their ratio unchanged.
Undefined values and common mistakes
Tangent and secant are undefined wherever cos θ = 0 — at 90°, 270°, and any angle of the form 90° + 180°n — because both divide by cos θ. Cosecant and cotangent are undefined wherever sin θ = 0 — at 0°, 180°, and any multiple of 180° — because both divide by sin θ. A frequent mistake is mixing degree and radian mode: sin(30) evaluated as 30 radians (≈ -0.988) is not the same as sin(30°) (= 0.5), so always confirm which unit is selected before reading a result.
Frequently Asked Questions
What are the six trigonometric functions?
How do I convert between degrees and radians?
Why are tangent, secant, cosecant, or cotangent sometimes undefined?
How are sine and cosine related to a right triangle?
Common Tip Percentages
| Service | Typical Tip Range | Notes |
|---|---|---|
| Restaurant (sit-down) | 15–20% | 20%+ for exceptional service |
| Food delivery | 10–20% | Consider extra for long distances |
| Taxi / rideshare | 10–20% | More for assistance with luggage |
| Hotel housekeeping | $2–5/night | Leave daily, not just at checkout |
| Barber / hair salon | 15–20% | On pre-discount total |
| Pizza delivery | 10–15% or $3–5 minimum | Higher in bad weather |
General Household Budget Ratios (50/30/20 Rule)
| Category | % of Net Income | Examples |
|---|---|---|
| Needs | 50% | Rent, groceries, utilities, insurance |
| Wants | 30% | Dining out, entertainment, hobbies |
| Savings / Debt | 20% | Emergency fund, retirement, extra payments |
Common Measurement Conversions for Everyday Use
| Quantity | US / Imperial | Metric Equivalent |
|---|---|---|
| 1 cup | 8 fl oz | 237 mL |
| 1 pint | 16 fl oz | 473 mL |
| 1 quart | 32 fl oz | 946 mL |
| 1 gallon | 128 fl oz | 3.785 L |
| 1 lb | 16 oz | 453.6 g |
| 1 ft | 12 in | 30.48 cm |