Indezine Logo




Finding Length of a Diagonal Line in PowerPoint for the Web

Learn how to find out the length of a slanted (diagonal) line in PowerPoint for the Web. We get some help from an ancient philosopher.


Author:

Product/Version: PowerPoint for the Web

OS: Microsoft Windows and Mac OS X



Learn PowerPoint

PowerPoint Animations Not Working?



Have you ever found yourself in a situation where you've drawn a slanted or sloped line in PowerPoint, and needed to know its length? Sadly, there's no default feature within PowerPoint to measure the size of your line. But why would you even want to know the size of the line? That’s because knowing the measurements can be important if you need to create multiple diagonal lines with specific lengths. For example, you might require a second line that needs to be exactly half the length of the first. Don't fret though because there are workarounds that will allow you to get those precise measurements. There may be any number of other reasons why you need to draw other shapes that are proportional, relative to this line. Figure 1, below, shows a straight line drawn on a slide, and it's also a diagonal line.

Diagonal line in PowerPoint for the Web
Figure 1: Diagonal line on a PowerPoint slide

Follow these steps to find the length value of a diagonal line in PowerPoint for the Web:

  1. Select and right-click the line to bring up the contextual menu, as shown in Figure 2, below. Within this menu, select the Format Options, highlighted in red within Figure 2.
  2. Right-click and choose Format Options
    Figure 2: Format Options within the contextual menu
  3. Doing so brings up the Format Options Task Pane, as shown in Figure 3, below. Now, you can see both Height and Width values, as shown highlighted in red within Figure 3. Don’t you think it is strange that there are Height and Width values for a line, but there is no Length value?
  4. Format Options Task Pane includes Height and Width values
    Figure 3: Height and Width values, but no Length value
  5. Change to a Horizontal or a Vertical Line?

  6. Want to change a diagonal line to a straight horizontal or vertical line? Look at our Change a Diagonal Line to a Horizontal or Vertical Line in PowerPoint for the Web tutorial.
  7. The actual answer is that these values are not for the diagonal line but for an imaginary rectangle that contains this diagonal line. In Figure 4, below, you can see that we have placed this imaginary rectangle behind the diagonal line. The Height and Width you saw within the Format Options dialog box, as shown in Figure 3, previously on this page pertains to this rectangle.
  8. Imaginary rectangle with diagonal line in PowerPoint for the Web
    Figure 4: Imaginary rectangle that contains the diagonal line
  9. Look closely at Figure 4, above, and you will notice that the diagonal line in question is not only placed within an imaginary rectangle, but it also created two imaginary right-angled triangles that are identical. Moreover, one of them is a rotated version of the other. When you draw a diagonal line connecting two opposite corners of a rectangle, you thus end up also creating imaginary triangles, as shown in Figure 5, below.
  10. Two imaginary right-angled triangles are created with a diagonal line in PowerPoint for the Web
    Figure 5: Two imaginary right-angled triangles
  11. The Width and Height values that we saw within the Format Options Task Pane, as shown in Figure 3, previously on this page, are also the lengths of two sides of any one of these two triangles. Since we already know the length of two sides of our triangle, we can easily use a little geometry to find the length of the line we started with.
  12. Pythagoras' Theorem

  13. How many of you remember the Pythagoras' theorem from your school days? If we use the logic behind the Pythagoras' theorem, you will know that A²+B²=C². A, B, and C are the three sides of our triangle, as shown in Figure 6, below.
  14. A, B, and C are the three sides of our imaginary triangle in PowerPoint for the Web
    Figure 6: Three sides of our imaginary triangle
  15. For example, if the values were:
  16. A: 3.68
    B: 4.73
  17. Thus, 3.68²+4.73²=C²
  18. We actually created an Excel sheet for you that already has these formulas inserted. You just need to type in your values for A and B, and will instantly see the value for C.
  19. Thus, the length of our original line is 5.99.
  20. You can similarly use the embedded Excel sheet on this page to find the length of any diagonal line within PowerPoint.

See Also:

06 02 05 - Advanced Shape Techniques: Finding Length of a Diagonal Line in PowerPoint (Glossary Page)

Finding Length of a Diagonal Line in PowerPoint 365 for Windows
Finding Length of a Diagonal Line in PowerPoint 365 for Mac
Finding Length of a Diagonal Line in PowerPoint 2013 for Windows
Finding Length of a Diagonal Line in PowerPoint 2011 for Mac

You May Also Like: DataPoint Working with Hardware: Conversation with Kurt Dupont | Solar Energy PowerPoint Templates


Popular Posts

PowerPoint Tutorials
PowerPoint Tutorials
These PowerPoint tutorials have many screen shots that show you exactly what you see in your computer!

Use Safe Fonts Available on All Systems in PowerPoint
Use Safe Fonts Available on All Systems in PowerPoint
Learn about using safe fonts in PowerPoint.

10 Tips for Pecha Kucha
10 Tips for Pecha Kucha
Read 10 amazing Pecha Kucha tips that will help you create and deliver a better Pecha Kucha presentation.

Creating Slide Backgrounds in Photoshop for PowerPoint
Creating Slide Backgrounds in Photoshop for PowerPoint
Learn how to create slide backgrounds for PowerPoint in Photoshop.



Organic Shapes with Brush Edges

You get 8 shape types plus lines as part of this Organic Shapes collection. Each of these 8 shape types have 10 variants. So you end up with 80 hand-drawn shape options! Again each of these 80 shapes have 12 brush stroke styles! Plus you get the lines and arrows in 12 brush stroke styles too. Combine all variations to end up with more than 3000 possibilities.

Buy and Download for $99+ (83 MB)


Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.

Home | PowerPoint | Photoshop | PowerPoint Templates | PowerPoint Tutorials | Blog | Notes | Ezine | Media Kit | Feedback | Site Map | About Us | Contact Us

Link to Us | Privacy | Testimonials

PowerPoint Backgrounds | Christian PowerPoint Backgrounds | Business PowerPoint Presentation Templates

Plagiarism will be detected by Copyscape

©2000-2023, . All rights reserved.