# PCB 90 degree angles [duplicate]

Not a dup of which barely attends to the technical reasons for or against using 90 degree routes.

As a hobbyist who's enrolling in an EE program in the fall, should I just get in the habit of avoiding right angles in PCB layout? Is this always a best practice or something that only RF or high speed scenarios require ?

Beyond mechanical or aesthetic reasons, are there reason you would want to use 90 degree angles?

EDIT: I forgot about one case where 90 degree corners ARE bad: high voltage PCBs. This is nothing to do with reflection or radiation, but how any sort of sharp shape will concentrate the high electric field and make a dielectric breakdown and arc over more likely. This can be exploited for PCB spark gaps, but otherwise, one should avoid right angle corners on a high voltage PCB, 1kV+. And one should use rounded pads for everything, even SMD resistor/capacitor pads. Avoid sharp copper shapes as much as possible.

No, there is no reason to prefer 45 angles over right angles. I will say this definitively: The other answers claiming that right angles cause more EMI are demonstrably false. This is not some sort of theoretical unknown that can be debated. We can measure EMI radiated from various trace shapes, and we have, and right angles do not radiate more than than 45 degree angles. Bring up as many theoretical reasons why right angles should be bad for EMI, but they don't matter. The simple empirical reality of the situation is that they don't, and what they 'should' do is not going to change that. In fact, this is true even at very high frequencies, which I will address further down in this post. If I am wrong, by all means, show me measurements demonstrating that 90 degree corners are worse. Or better yet, if there is a measurable difference, surely it would be straight forward to build a meter that could determine if a trace had a right angle or 45 degree angle corner in it entirely by performing measurements on the input and output. Or picking up the EMI. I will eat my words if anyone can build a meter to do that.

I am quite sure no one will, because there is not any measurable difference in EMI or reflection at frequencies that even permit 45 (or 90) degree corners in the first place.

There are of course other nonsense reasons being given. Etching and right angles was only ever a problem before anyone was even using 45 degree angle traces and was instead hand taping out boards using rubylith. Processes improved enough that such concerns haven't been concerns for at least 3 decades. If there was any etch related problem, you had better tell all those boards with square 0.5 or 0.4mm pitch QFN pads that they can't keep using those parts, since apparently our PCB etch processes would mangle the shape of those pads completely. At least, if one is to believe some of the other answers in this thread. Of course, the etch argument is also obviously nonsense, and you need look at all the tiny square pads etched all the time with perfectly sharp corners to understand that it is nonsense.

What bothers me is that no one is asking the one question that we should be asking: Why are 45 degree traces used?

The answer is a bit anti-climatic: tradition. At least, when it is used without a valid, rational reason. You can route more traces in the same space using 45 degree angles, simply due to corners taking up more room (square root of two and all that ). So using them is perfectly valid in many routing situations. But there is no reason to preferentially use them over right angles, so you should get in the habit of using whatever seems like the best solution for that very specific trace. If you want to be good at routing boards, a great way to ensure this never happens is to enforce arbitrary design rules upon yourself that give no benefit. It's just choosing to limit your routing strategies for no reason.

People may doubt my tradition argument, but I come bearing hard proof. I have a lot of circuit boards spanning times from the 60s to the present day, and it is clear that 45 degree angle traces are little more than an artifact of EDA software coming onto the scene and imposing arbitrary limitations (8 possible routing angles... computers struggled to do even simple vector graphics at the time, this made things easier).

First, here is a board for a frequency filter for an old HP synthesizer. This produced a lot of RF frequencies and used bazillion order filters, 24 of them, all carrying some multiple of 10MHz. This was a piece of HP test gear mind you, this was the state-of-the-art. It was made in the 70s, back when boards were still hand taped out. Boards of this era, even RF ones, never used 45 degree angles because their use was an artificial constraint due to software that didn't exist yet.

Let's flip it over...

But those have lots of stuff rounded too...this was probably due to them being masked with rubylith cut by hand. Let's move forward to 1983, when EDA software was very much in use. Suddenly, all those curves and angles going any which way vanished, and only 8 directions were used. This is entirely because of the tools of the period, there was no design choice going on here. No one chose to only use 8 directions, they only HAD 8 directions to pick from in those early EDA tools. The following is a western digital disk controller from 1983.

Oh my... its as if they didn't care one way or the other about right angled or 45 degree trace corners. (Hint: they didn't.) They use both with wild abandon!

More close ups...

As you can see, it appears that the only real correlation between when one is used is that when needing higher routing density, 45 degree cornering is used much more often (though not always). This is the only concern that really influences cornering choice. Otherwise, use whatever you like. Clearly, this designer didn't particularly like either of them more than the other. He probably used to tape boards out, but has moved on to using EDA tools. He wasn't using 90 degree angles OR 45 degree angles on his traces before, and has no preference when he or she designed this.

If you are using FR4, then right angles don't matter. For the simple reason that if you can tolerate the dielectric loss caused by FR4 on your signal, it isn't fast enough for right angles to matter. Even 2.4GHz Wifi has a wavelength of about 5 inches. Of course it is not going to be meaningfully effected by a feature orders of magnitude smaller than it's own wavelength, like the shape trace corner. 2 45 degree turns or one 90 degree one are going to be virtually identical in over all effect.

And, shape is not even the important factor in the instances when frequency effects. Impedance is. You must maintain a characteristic impedance, such that the instantaneous impedance the signal sees at any given step along the way is always the same. It is discontinuities that cause reflections and radiation. The easy way of maintaining impedance is simply to use curves, but they must have a radius of curvature at least 3 times the width of the trace. This is to maintain the trace width to a nearly constant value, thus maintaining impedance. This is what determines the shape, but any strategy that maintains impedance is valid.

One last picture, the inside of an old Tektronix Oscilloscope:

If you need to corner a trace more compactly, then using a 90 degree or two 45 degree angles are both incorrect. A 90 degree corner causes an impedance discontinuity when the trace width to increases by a factor of $\sqrt{2}$ at the 90 degree corner, causing a sudden drop in impedance. This will indeed cause reflections and radiate.

If you use a 45 degree angle, you cause not just one but two discontinuities, and while individually they are not as severe (each 45 degree angle widens the trace by a factor of $\sqrt{4-\sqrt{2}}$), that approximately 1.08 difference is still a significant impedance change, and causes reflections and radiation. Only, it happens twice, so you'll multiple get phase shifted reflections and radiations. 45 degree angles are at best no better than right angles at the very issues that supposedly make them 'better'. The simple truth is that there is no actual reason, and essentially no difference between them.

So how do you correctly corner a trace when cornering strategy actually matters? Any way you want, as long as you maintain your impedance. Which is not possible with 90 or 45 degree bends. You can maintain impedance in any way you wish, and while it is difficult to increase impedance to balance out the extra width (and loss of impedance) caused by 45 or 90 degree cornering, it is easy to reduce impedance to balance out increased impedance by narrowing the trace.

Let's back up for a second and examine the whole trace width vs. impedance thing. Why does trace width have such a significant effect on the impedance? It's not the tiny change in the already minuscule DC resistance, of course.

It's the capacitance! Those traces form one plate of a capacitor with the signal return plane underneath it. So once you've added extra area using a right angle or 45 degree trace, there is nothing you can do, that extra capacitance is there to stay. However, if you take a 90 degree corner and chop off part of the corner on one side, and based on the dielectric constant of your pcb substrate as well as its thickness between the signal trace and the return plane, you can calculate exactly how much you need to chop off to maintain the over all capacitance.

And the result is somewhat ironically the juxtaposition of a 45 and 90 degree bend:

Fundamentally, it is a 90 degree corner with a bit of it chopped off (mitered) to maintain capacitance, and thus impedance. There is nothing wrong with sharp angles if you account for impedance. Curves are just easier, so I prefer them because I'm lazy. Sometimes they take up too much space though.

Whether you corner 90 degrees or 45 degrees is irrelevant. You can route topologically and not follow any direction if you prefer. This all began with a software quirk and it has morphed into tradition, and even apparently superstition. I promise you that any engineer that claims this somehow matters will never back this up with hard data, and will not be able to if pressed to do so. It is easy to find evidence that it doesn't matter, because it doesn't. Which is why I just took some pictures to prove my point. In the high end situations it does matter, any rule of thumb about one corner over the other is completely worthless anyway, as both are just as wrong.

If you can use 45 degree traces, you can use 90 degree ones with no measurable impact. Use which over one you like or is suited for a specific trace density. Engineers never used to care, and there is no reason you should. Don't let the unsupported answers (upvoted as they unfortunately are, despite being false information) pull you in. Validate rule of thumbs you're told with data. Tradition and faith has no place in good engineering.

• Nice review, but I'll point out that showing pictures of commercial products doing things a certain way does not constitute proof that there isn't a better way -- merely that what they implemented seems to work well enough. I don't disagree with what you say, but the logic flaw bothers me. – Scott Seidman Apr 6 '16 at 14:15
• Awesome post, and I wish this would help getting rid of these ancient myths. If you feel like adding more information you could mention that it would be impossible to use vias and hole-mounted components if you had to avoid 90 degree bends. Any via will create two sharp 90 degree corners in the signal. This is also true for a lot of PCB-mounted SMA and BNC connectors. – pipe Apr 6 '16 at 15:46
• I've never designed a pcb in my life (software scrub here), but this is by far the most interesting answer I've read on SO in a very long time. Thank you! – Andrew T Dec 17 '16 at 23:53
• Nice answer, very exemplified and it seems to be consistent! However, reading your text I remembered of a App note from Texas, that has discussing about layout from ESD supression. They have emission measurements that shows 45 degrees with a better performance than 90 degrees: ti.com/lit/an/slva680/slva680.pdf - bottom of page 4. What is your opnion about it? Does you think that the difference between 90d and 45d only appers just in the extreme high di/dt like ESD event? – Luis Possatti May 4 '18 at 12:52
• Lol. Did you put the "oh noes hide your kids hide your wife caption" on that image? – DKNguyen Sep 25 '19 at 19:11

I"m going to go against the grain here, and suggest you read "Right the first time" by Lee W. Ritchey. http://www.thehighspeeddesignbook.com/

Of specific interest is chapter 25, where the author goes to great lengths to point out:

"that the rule [of no right angles] arose as a result of one particular figure (Figure 7-17) appearing on one particular page (page 144), of the Motorola ECL Systems Handbook that was published in 1973. This figure shows two traces, side-by-side, one with two right angle bends and the other with those bends rounded. Below that picture are two oscilloscope traces. The trace for the right angle bend example has two small dips in the middle of it while the trace for the rounded corners has none. This suggests that right angle bends cause a problem. Backing up to page 140 of the same handbook, Figure 7-14 shows a trace with two right angle bends and no disturbance at all from either one of the bends. Seems like a conflict. I [Ritchey] called the author to question this and was told that Figure 7-17 was flawed and should not have been published! So, for all this time, engineers have been preventing the use of right angle bends based on flawed data. (Note: The Motorola ECL Systems Handbook is available as a PDF file from On Semiconductor at www.onsemi.com.)"

The author goes on to state: "Right angle bends do not cause signal integrity problems at any practical edge speed. Right angle bends also do not cause EMI. Right angle bends are not acid traps. There is no good technical reason to prevent the use of right angle bends to route traces in a PCB."

So from that advice, from a purely electrical standpoint, there is no reason to eschew 90 degree bends. Whether there are mechanical considerations such as traces lifting at higher temperatures etc. is another matter.

Personally I try and keep the traces as short as practicable, which usually means straight lines (no bends) wherever possible. I don't lose sleep over adding 90 degree bends if needed: keeping everything at 45 (or 135) degrees uses up a lot of PCB 'real estate' on tighter designs.

Well, generally, the shorter the traces, the less loss and better things work. Right angles make for longer traces, so are typically undesired. Although there is only a minuscule difference for most hobbyist-type circuits. If you are experimenting with resistors, capacitors, 555's and 2N2222's, if you must use a right-angle, do it, but don't get into the habit of it. As JRE states, they are also difficult to etch properly.

Things get interesting at high frequencies - over 100MHz or so. As a signal's frequency increases, all manners of physical effects (physics) begin to manifest and affect the signal as it travels (propagates) across the PCB. Since the frequency is so fast, the wavelength is very short, which means that a PCB trace can start to appear large enough to be an antenna and radiate power into free space. At even higher frequencies, large sections of copper appear as capacitance, sharp corners appear as resistance (technically - impedance), gaps in a track appear as a filter, even the PCB material itself influences things - called the dielectric constant. Such (intentional) design is very specialized and complex. Usually, most electronics design avoids these effects by using lower frequencies, making shorter PCB traces, etc.

EMI is Electro-Magnetic Interference, which means the undesired generation or induction of unintentional RF signals. EMC (Electro-Magnetic Compliance) is the trade of testing PCB's for undesired radiation (and susceptibility). A career in EMC is one born from a heavy understanding of physics, RF theory, and electronics.

You should always avoid it. You may recall that a lightning rod has a sharp end. The reason for that is that the electric field concentrates there and makes it "more attractive" to the lightning than other surfaces.

Similarly, the sharp edge of a 90 degrees angle is bad, more interference can be generated there, the discontinuity of the impedance of the PCB line is worser, etc.

By all means, avoid them.

• At hobby-level frequencies and voltages, the sharp corners are hardly a cause for concern. That being said, I still agree with you--It's just better to avoid 90-degree corners altogether. – DerStrom8 Apr 5 '16 at 19:08
• Actually, it appears that having a sharp end isn't the best design for lightning conductors. – David Richerby Apr 6 '16 at 1:33

The rule where all designers would agree is: avoid any angle other than 45 o 90 degrees.

It is true that right angles might be a problem for certain manufacturing processes. The problem would be even stronger for acute angles, which are strongly discouraged. However most modern fabs should have no problem even with these. Some related info on acid traps is here.

Trace length and mostly aesthetics are factors favoring 45 degree bends. Note that it is only aesthetics the fact that explains why you don't see 55 degree bends in any decent board!

If you were designing a high-voltage board you should probably also pay attention to avoiding any corner.

Regarding RF performance or electromagnetic compatibility (which are not unrelated), a properly routed return trace for the most RF-ish traces is the way to go. Note that you can route a microstrip 90 degree bend without problems if you miter the outer edge correctly. So this is not an argument for or against 90 degree bends.

As it was mentioned before 90 degree (and less) are not desirable for 2 reasons:

1. High frequencies and high voltages as the sharp point emits elecrons.
2. Mechanical problems with manufacturing.

So technicaly they should be avoided in any normal conditions and it's a good practice to train yourself how to design without them. Either round these corners either use 2 x 135 degrees angles instead.

But:

1. If mechanical issues can be avoided sharp angles are not problem (google for RFID images or simply gently remove a square RFID sticker).
2. Using 90 degree polygons one can create PCB capacitor or antenna for high frequencies (google for example 2.4 GHz transmitter images).

So everything depends. If you are less skilled - just avoid them as a rule of thumb.