Blog › SOIC-8 at JLCPCB

Why your SOIC-8 is soldered 180° out at JLCPCB — and the one-line fix

November 25, 2026 · CPLfix · 5 minute read

Your board comes back from JLCPCB and everything works except one chip. The op-amp — an LM358, a 74HC595, whatever your SOIC-8 is — is soldered on backwards. Pin 1 is where pin 8 should be, power and ground are swapped, and the board is dead. The rest of the assembly is perfect, which is what makes it sting: one part, one wrong number, one dead board.

This is the single most common rotation mistake in KiCad-to-JLCPCB orders, and it is not a mistake in your layout. Your schematic is right. Your footprint is right. The problem is that KiCad and JLCPCB disagree about which way round a SOIC-8 sits — and the disagreement lives in one column of one file.

Why it happens: two pin 1s

Every chip has a pin 1, and every tool in the chain has an opinion about where it is. KiCad draws SOIC footprints to the IPC-7351 convention: pin 1 at the top left, pin numbers running down the left side and up the right. That is the drawing you see on your screen, and it is the rotation KiCad writes into the placement file.

JLCPCB's assembly line does not read your screen. It reads its own part library, and the library footprint for the same SOIC-8 is drawn with pin 1 in a different corner — because JLCPCB orients the part the way it comes off the tape. Tape-and-reel packaging has its own orientation: the part sits in the pocket of the tape a particular way round, the feeder presents it to the pick-and-place head a particular way round, and the library footprint is drawn to match the feeder, not your schematic.

Neither side is wrong. KiCad is not wrong and JLCPCB is not wrong. They just disagree by 270° for SOIC parts. The placement file — the CPL, the pick-and-place file — is the contract between them, and its Rotation column is where the disagreement has to be settled. If you upload KiCad's rotation untouched, the machine places the chip 270° away from where JLCPCB's library says pin 1 is, and the chip lands backwards.

The fix is one line per part: add 270° to the rotation of every SOIC on the top side. On the bottom side the formula is different, because a bottom part is seen from below — more on that in a moment.

The fix, with the numbers

For a SOIC at JLCPCB, the delta is +270°. Top side:

(KiCad rotation + 270) % 360

Bottom side, the rotation is mirrored before the delta is added — you are looking at the board from underneath, so the rotation runs the other way. In plain words: start from 180°, subtract the KiCad rotation, then add the 270° delta, and wrap around at 360°:

(180 − KiCad rotation + 270) % 360

Here is the whole table for a SOIC-8 (and every other SOIC size — SOIC-14, SOIC-16, SOIC-20 and SOIC-28 all use the same +270° delta, because the disagreement is about the pin-1 corner, not the body size):

KiCad rotationCPL rotation — topCPL rotation — bottom
0°270°90°
90°0°0°
180°90°270°
270°180°180°

Read it as: if KiCad says your SOIC-8 is at 0°, write 270° in the CPL for a top-side part and 90° for a bottom-side part. The most common case is the first row — a part KiCad drew at 0° needs 270° on top.

The one-line fix: add 270° to every SOIC rotation in your CPL for JLCPCB top-side parts — and use (180 − rot + 270) % 360 for bottom-side parts.
KiCad — pin 1 top-left, 0° The dot is pin 1. Arrow = pin-1 direction. JLCPCB CPL — 270° (top, KiCad 0°) Same chip, same dot — rotated into JLCPCB's frame.
The dot is pin 1. KiCad draws the SOIC-8 at 0° with pin 1 at the top left; JLCPCB's CPL needs 270° for that same part on the top side. The arrow shows the pin-1 direction after the offset — the same arrow convention as the Pin-1 preview on this site (cyan = top, amber = bottom).

How to catch it in the placement preview

Do not trust the number alone. After you upload your Gerbers, BOM and CPL to JLCPCB, open the placement preview before you pay — it shows every part on the board as the machine will place it, with a pin-1 mark on each IC. Find your SOIC-8s and check the dot: it should sit on the same corner as the pin-1 mark on your silkscreen. Check every SOIC, not just the first one — a board usually has several, and a part you rotated in KiCad to fit the layout will have a different row in the table above.

If the preview disagrees with the table, trust the preview. The +270° offset comes from a community rotation table, not from JLCPCB's library entry for your exact part number, and the preview is the one place where JLCPCB's actual library orientation is visible. If a part looks wrong there, fix the Rotation value in the CPL and re-upload — that is exactly what the preview is for.

If you only discover the problem after the boards arrive, there is no magic fix. If the order is still in pre-production review, JLCPCB will sometimes flag a wrong rotation themselves — and if they do, you can re-upload a corrected CPL before production starts. If the boards are already assembled, the honest options are rework or reorder: remove the chip with hot air, rotate it, and resolder it by hand (doable for one SOIC-8, miserable for ten), or fix the CPL and order the boards again. Either way, the lesson is the same — the preview check costs two minutes, the rework costs an evening.

How CPLfix does it

You do not have to do this by hand for every part. Drop your KiCad .pos file on CPLfix and it applies the +270° to every SOIC — and the right offset to every other footprint in the file, top and bottom — then gives you a corrected CPL to upload to JLCPCB. The exact numbers for this footprint are on the SOIC-8 offset page (and SOIC-16, same family, same delta), with the worked table and a Pin-1 diagram. Then still check the preview. The tool does the arithmetic; the preview is the authority.

One warning: community rotation tables disagree in places — you will find SOIC listed as +90° in some write-ups and +270° in others, and the (360 − rot + delta) bottom formula floating around is wrong for 90°/270° parts. The numbers in this article are the ones this site's normalizer uses, and they are checked against the worked table above. But no table replaces the placement preview: if JLCPCB's preview shows pin 1 somewhere else, the preview is final.