Cos pi/8: Exact Value & How To Find It

#Trigonometry
TL;DR
Cos pi/8 has the exact value cos⁡π8=2+22≈0.9239\cos\frac{\pi}{8} = \frac{\sqrt{2+\sqrt{2}}}{2} \approx 0.9239. The angle π8\frac{\pi}{8} radians is the same as 22.5∘22.5^\circ, it sits in the first quadrant where cosine is positive, and the value comes straight from the half-angle formula applied to π4\frac{\pi}{4} (which is 45∘45^\circ).
BT
Bhanzu TeamLast updated on September 12, 20269 min read

What Is The Value Of Cos pi/8?

Cos pi/8 equals 2+22\dfrac{\sqrt{2+\sqrt{2}}}{2}, which is approximately 0.92390.9239 to four decimal places. The angle is written two ways that mean exactly the same thing: π8\frac{\pi}{8} in radians and 22.5∘22.5^\circ in degrees.

cos⁡π8=cos⁡22.5∘=2+22≈0.9239\cos\frac{\pi}{8} = \cos 22.5^\circ = \frac{\sqrt{2+\sqrt{2}}}{2} \approx 0.9239

The value is close to 11 because 22.5∘22.5^\circ is a small angle, and the cosine of a small angle is near its maximum of 11. The two ways of naming the angle are linked by the fact that π\pi radians equals 180∘180^\circ, so π8=180∘8=22.5∘\frac{\pi}{8} = \frac{180^\circ}{8} = 22.5^\circ. If the radian idea is new, the page on what a radian is sets it up from scratch.

How Do You Find Cos pi/8?

Because 22.5∘22.5^\circ is not one of the standard angles (0∘,30∘,45∘,60∘,90∘0^\circ, 30^\circ, 45^\circ, 60^\circ, 90^\circ), you cannot read it off the trigonometric table directly. The trick is that 22.5∘22.5^\circ is exactly half of 45∘45^\circ, an angle you already know. That opens the half-angle formula.

The half-angle formula for cosine is:

cos⁡θ2=±1+cos⁡θ2\cos\frac{\theta}{2} = \pm\sqrt{\frac{1+\cos\theta}{2}}

The ±\pm sign is decided by the quadrant the half-angle lands in. Here θ2=π8=22.5∘\frac{\theta}{2} = \frac{\pi}{8} = 22.5^\circ sits in the first quadrant, where cosine is positive, so you take the plus sign. Setting θ=π4=45∘\theta = \frac{\pi}{4} = 45^\circ and using cos⁡π4=22\cos\frac{\pi}{4} = \frac{\sqrt{2}}{2}:

cos⁡π8=1+cos⁡π42=1+222\cos\frac{\pi}{8} = \sqrt{\frac{1+\cos\frac{\pi}{4}}{2}} = \sqrt{\frac{1+\frac{\sqrt{2}}{2}}{2}}

Now clear the inner fraction by writing 1=221 = \frac{2}{2}:

=2+222=2+24= \sqrt{\frac{\frac{2+\sqrt{2}}{2}}{2}} = \sqrt{\frac{2+\sqrt{2}}{4}}

The denominator 44 is a perfect square, so its root comes out as 22:

=2+22≈0.9239= \frac{\sqrt{2+\sqrt{2}}}{2} \approx 0.9239

That nested square root is the exact value. It is not a "messier" answer than 22\frac{\sqrt{2}}{2}, it is the same kind of surd, just one layer deeper because the angle was halved once more.

Where Does pi/8 Sit On The Unit Circle?

On the unit circle, an angle is measured anticlockwise from the positive xx-axis, and the point where the angle's ray meets the circle has coordinates (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta). So the cosine is simply the xx-coordinate of that point.

The angle π8=22.5∘\frac{\pi}{8} = 22.5^\circ lands in the first quadrant, a little above the xx-axis and well to the right. Its point on the circle is (2+22,2−22)\left(\frac{\sqrt{2+\sqrt{2}}}{2}, \frac{\sqrt{2-\sqrt{2}}}{2}\right), roughly (0.9239,0.3827)(0.9239, 0.3827). Because the point sits far to the right, its xx-coordinate is large and positive, which is exactly why cos pi/8 is close to 11.

How Does Cos pi/8 Come From A Right Triangle?

The unit circle and the right triangle are two views of the same value, and seeing both stops cosine from feeling like two unrelated ideas. Drop that vertical dashed line from the circle point down to the xx-axis, and you have a right triangle inside the circle.

  • The hypotenuse is the radius, length 11.

  • The adjacent side (along the xx-axis) has length cos⁡π8\cos\frac{\pi}{8}.

  • The opposite side (the vertical drop) has length sin⁡π8\sin\frac{\pi}{8}.

By the classic ratio, cos⁡π8=adjacenthypotenuse=cos⁡π81\cos\frac{\pi}{8} = \dfrac{\text{adjacent}}{\text{hypotenuse}} = \dfrac{\cos\frac{\pi}{8}}{1}, which is the same 0.92390.9239. If you build a right triangle with a 22.5∘22.5^\circ angle and a hypotenuse of 10 cm10\text{ cm}, the side next to the angle measures 10×0.9239=9.239 cm10 \times 0.9239 = 9.239\text{ cm}. For a refresher on these three ratios, see sin cos tan and the wider set of trigonometric ratios of specific angles.

The half-angle method gives all three main ratios at π8\frac{\pi}{8}, and it is worth seeing them beside the parent angle π4\frac{\pi}{4} they were halved from.

Table: Exact values for pi/8 and the neighbouring special angles, in degrees and radians.

Angle (degrees)

Angle (radians)

Sine

Cosine

Tangent

22.5∘22.5^\circ

π8\frac{\pi}{8}

2−22≈0.3827\frac{\sqrt{2-\sqrt{2}}}{2} \approx 0.3827

2+22≈0.9239\frac{\sqrt{2+\sqrt{2}}}{2} \approx 0.9239

2−1≈0.4142\sqrt{2}-1 \approx 0.4142

30∘30^\circ

π6\frac{\pi}{6}

12=0.5\frac{1}{2} = 0.5

32≈0.8660\frac{\sqrt{3}}{2} \approx 0.8660

13≈0.5774\frac{1}{\sqrt{3}} \approx 0.5774

45∘45^\circ

π4\frac{\pi}{4}

22≈0.7071\frac{\sqrt{2}}{2} \approx 0.7071

22≈0.7071\frac{\sqrt{2}}{2} \approx 0.7071

11

A useful check sits in that table. Since 22.5∘22.5^\circ is smaller than 30∘30^\circ and 45∘45^\circ, its cosine (0.92390.9239) is the largest of the three, because cosine shrinks as the angle grows from 0∘0^\circ to 90∘90^\circ. The related cos 15 degrees and cos 45 degrees pages walk the same half-angle idea for their own angles.

Why Is Cos pi/8 Equal To √(2+√2)/2?

The nested-root shape is not an accident of algebra. It is the signature of an angle made by halving.

  • Halving an angle deepens the surd. The known angle π4\frac{\pi}{4} already carries one square root, 22\frac{\sqrt{2}}{2}. The half-angle formula wraps that value inside a second square root, so π8\frac{\pi}{8} carries a root inside a root. Halve again to reach π16\frac{\pi}{16}, and a third layer appears.

  • The plus sign records the quadrant. The formula offers ±\pm, and the geometry chooses. Since π8\frac{\pi}{8} lands in the first quadrant, where every xx-coordinate is positive, cosine must be positive, so the answer keeps the plus.

  • The size matches the picture. A value of 0.92390.9239 means the point on the unit circle is almost as far right as it can be. That fits an angle of only 22.5∘22.5^\circ, a small tilt away from the xx-axis.

Put together, the exact value is the algebra faithfully recording three facts at once: which angle was halved, which quadrant it lives in, and how close to the axis it sits.

Who Discovered How To Halve An Angle?

Long before the half-angle formula was written in modern symbols, astronomers needed the cosine of awkward angles to predict where planets would be, and they built the halving trick to get there.

Two other figures shaped the same story:

  • Hipparchus of Nicaea (c. 190 – c. 120 BCE, Greece) built the first known table of chords, the work Ptolemy later extended, and is often called the founder of trigonometry.

  • Aryabhata (476 – 550 CE, India) compiled an early table of half-chords, the jya values that gave us the very word "sine," and computed them at fine intervals for astronomy.

Where Is Cos pi/8 Used In The Real World?

The 22.5∘22.5^\circ angle behind cos pi/8 is the natural angle of anything divided into eight, and it shows up wherever eightfold symmetry does.

  • Carpentry and manufacturing: an octagonal table, gazebo, or picture frame needs eight mitre cuts, and the geometry of each corner depends on the 22.5∘22.5^\circ half-angle, with cos⁡22.5∘\cos 22.5^\circ setting the width a board covers.

  • Signal processing: the Fast Fourier Transform, which powers audio and image compression, repeatedly uses the cosines of angles like π8\frac{\pi}{8} as it splits a signal into eight or sixteen parts.

  • Antenna and radar arrays: phased arrays steer a beam by shifting signals across elements spaced at fractions of a wave, and 22.5∘22.5^\circ phase steps are a common design choice.

  • Computer graphics: rotating a sprite or texture by a smooth 22.5∘22.5^\circ needs cos⁡22.5∘\cos 22.5^\circ inside the rotation matrix that repositions every pixel.

  • Navigation: the 16-point compass rose divides the circle into 22.5∘22.5^\circ sectors, so each named heading, such as "north-northeast," sits one cos pi/8 step from its neighbour.

One small angle, halved out of 45∘45^\circ, quietly shapes furniture, sound, radio, screens, and the compass.

What Are The Most Common Mistakes With Cos pi/8?

These four errors account for most lost marks on half-angle values, and they were the exact slips surfaced when searching how students handle cos⁡22.5∘\cos 22.5^\circ.

Choosing the wrong sign in the half-angle formula.

Where it slips in:

A student writes cos⁡π8=±1+cos⁡π42\cos\frac{\pi}{8} = \pm\sqrt{\frac{1+\cos\frac{\pi}{4}}{2}} and leaves the ±\pm, or picks the minus sign out of habit.

Don't do this:

Do not carry the ±\pm into the final answer, and do not guess the sign.

The correct way:

Check the quadrant of the half-angle first. Here π8=22.5∘\frac{\pi}{8} = 22.5^\circ is in the first quadrant, cosine is positive there, so the sign is plus and the answer is +2+22+\frac{\sqrt{2+\sqrt{2}}}{2}.

Reading the calculator in the wrong angle mode.

Where it slips in:

A student types cos⁡(π/8)\cos(\pi/8) with the calculator set to degrees, or types cos⁡(22.5)\cos(22.5) with it set to radians, and gets a value that is not 0.92390.9239.

Don't do this:

Do not enter an angle before confirming the MODE. Typing π/8≈0.3927\pi/8 \approx 0.3927 in degree mode returns about 0.999980.99998, not the intended value.

The correct way:

Match the mode to the angle. Use radian mode for π8\frac{\pi}{8} and degree mode for 22.5∘22.5^\circ. Both should return 0.92390.9239.

Halving the value instead of the angle.

Where it slips in:

A student reasons that since 22.5∘22.5^\circ is half of 45∘45^\circ, the cosine must be half of cos⁡45∘\cos 45^\circ, giving 12⋅22≈0.3536\frac{1}{2}\cdot\frac{\sqrt{2}}{2} \approx 0.3536.

Don't do this:

Do not halve the cosine when you halve the angle. Cosine is not a straight-line (linear) function of the angle.

The correct way:

Feed the angle through the half-angle formula. Halving 45∘45^\circ to 22.5∘22.5^\circ raises the cosine from 0.70710.7071 toward 0.92390.9239, it does not cut it in half.

Confusing the co-function relationship.

Where it slips in:

A student sets cos⁡π8\cos\frac{\pi}{8} equal to sin⁡π8\sin\frac{\pi}{8}, or mixes up which complementary angle pairs with it.

Don't do this:

Do not pair cosine with the same angle's sine. The co-function link uses the complementary angle.

The correct way:

Use cos⁡θ=sin⁡(π2−θ)\cos\theta = \sin\left(\frac{\pi}{2}-\theta\right), so cos⁡π8=sin⁡3π8=sin⁡67.5∘≈0.9239\cos\frac{\pi}{8} = \sin\frac{3\pi}{8} = \sin 67.5^\circ \approx 0.9239. The cofunction identities page sets out the full rule.

Practice Problems On Cos pi/8

Work each one, then check against the answer.

  1. Convert π8\frac{\pi}{8} radians to degrees.
    (Answer: 180∘8=22.5∘\frac{180^\circ}{8} = 22.5^\circ.)

  2. State the exact value of cos⁡π8\cos\frac{\pi}{8}.
    (Answer: 2+22≈0.9239\frac{\sqrt{2+\sqrt{2}}}{2} \approx 0.9239.)

  3. A right triangle has a 22.5∘22.5^\circ angle and a hypotenuse of 8 cm8\text{ cm}. Find the side adjacent to the angle.
    (Answer: 8cos⁡22.5∘=8×0.9239≈7.39 cm8\cos 22.5^\circ = 8 \times 0.9239 \approx 7.39\text{ cm}.)

  4. Use the co-function identity to write cos⁡π8\cos\frac{\pi}{8} as a sine.
    (Answer: cos⁡π8=sin⁡3π8=sin⁡67.5∘\cos\frac{\pi}{8} = \sin\frac{3\pi}{8} = \sin 67.5^\circ.)

  5. Given cos⁡π8=2+22\cos\frac{\pi}{8} = \frac{\sqrt{2+\sqrt{2}}}{2}, verify that sin⁡π8=2−22\sin\frac{\pi}{8} = \frac{\sqrt{2-\sqrt{2}}}{2} using sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1.
    (Answer: cos⁡2π8=2+24\cos^2\frac{\pi}{8} = \frac{2+\sqrt{2}}{4}, so sin⁡2π8=1−2+24=2−24\sin^2\frac{\pi}{8} = 1 - \frac{2+\sqrt{2}}{4} = \frac{2-\sqrt{2}}{4}, giving sin⁡π8=2−22\sin\frac{\pi}{8} = \frac{\sqrt{2-\sqrt{2}}}{2}.)

  6. Is cos⁡π8\cos\frac{\pi}{8} larger or smaller than cos⁡π6\cos\frac{\pi}{6}, and why?
    (Answer: Larger. π8=22.5∘\frac{\pi}{8} = 22.5^\circ is a smaller angle than π6=30∘\frac{\pi}{6} = 30^\circ, and cosine decreases from 0∘0^\circ to 90∘90^\circ, so 0.9239>0.86600.9239 > 0.8660.)

Where Should You Go Next After Cos pi/8?

Cos pi/8 is one worked case of a much wider toolkit, and a few natural doors open from here.

  1. Half angle formula. The single method behind this value, with the full set of sine, cosine, and tangent versions and when to use each.

  2. Sum and difference identities. The other route to non-standard angles, and the source of values like cos⁡15∘\cos 15^\circ from 45∘−30∘45^\circ - 30^\circ.

  3. Unit circle with tangent. See where every angle, including π8\frac{\pi}{8}, lands and how its coordinates give sine, cosine, and tangent at a glance.

If your child is building these foundations, a live Bhanzu trainer teaches half-angle values starting from the "why" (the unit circle and the geometry of halving) in the Bhanzu trigonometry program.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the exact value of cos pi/8?
The exact value of cos pi/8 is 2+22\frac{\sqrt{2+\sqrt{2}}}{2}, which is about 0.92390.9239. It comes from the half-angle formula applied to π4\frac{\pi}{4}, and it is a positive value because π8\frac{\pi}{8} lies in the first quadrant.
What is cos pi/8 in degrees?
The angle π8\frac{\pi}{8} radians equals 22.5∘22.5^\circ, since π\pi radians is 180∘180^\circ and 180∘8=22.5∘\frac{180^\circ}{8} = 22.5^\circ. The cosine is the same either way: cos⁡π8=cos⁡22.5∘≈0.9239\cos\frac{\pi}{8} = \cos 22.5^\circ \approx 0.9239.
Is cos pi/8 positive or negative?
It is positive. The angle π8\frac{\pi}{8} sits in the first quadrant, where the xx-coordinate on the unit circle is positive, and cosine is that xx-coordinate. So cos⁡π8≈+0.9239\cos\frac{\pi}{8} \approx +0.9239.
How do you find cos pi/8 without a calculator?
Use the half-angle formula cos⁡θ2=1+cos⁡θ2\cos\frac{\theta}{2} = \sqrt{\frac{1+\cos\theta}{2}} with θ=π4\theta = \frac{\pi}{4}. Substituting cos⁡π4=22\cos\frac{\pi}{4} = \frac{\sqrt{2}}{2} and simplifying gives 2+22\frac{\sqrt{2+\sqrt{2}}}{2}.
What is the value of sin pi/8?
sin⁡π8=2−22≈0.3827\sin\frac{\pi}{8} = \frac{\sqrt{2-\sqrt{2}}}{2} \approx 0.3827. It uses the sine half-angle formula and, together with cos pi/8, satisfies sin⁡2π8+cos⁡2π8=1\sin^2\frac{\pi}{8} + \cos^2\frac{\pi}{8} = 1.
How is cos pi/8 related to sin 3pi/8?
By the co-function identity, cos⁡θ=sin⁡(π2−θ)\cos\theta = \sin\left(\frac{\pi}{2}-\theta\right). Setting θ=π8\theta = \frac{\pi}{8} gives cos⁡π8=sin⁡3π8=sin⁡67.5∘\cos\frac{\pi}{8} = \sin\frac{3\pi}{8} = \sin 67.5^\circ, so both equal about 0.92390.9239.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →