Offsets › JLCPCB › SOIC-8
The 8-pin SOIC is the most common small IC package in hobbyist KiCad boards — op-amps, logic and timers. Four pins per side, 1.27 mm pitch, body 3.9 mm wide. It is also the package most people first hit the rotation problem with, because KiCad and JLCPCB disagree on it by 270°.
The offset comes from the community rotation table rule ^SOIC-.*. KiCad draws SOIC footprints with pin 1 at the top left (IPC-7351). JLCPCB's library footprint for the same part is drawn with pin 1 in a different corner, because JLCPCB orients the part as it comes off the tape. The 270° delta is the rotation that maps KiCad's pin-1 corner onto JLCPCB's. Without it the chip is soldered 90° out and the board does not work.
| KiCad rotation | CPL rotation — top | CPL rotation — bottom |
|---|---|---|
| 0° | 270° | 90° |
| 90° | 0° | 0° |
| 180° | 90° | 270° |
| 270° | 180° | 180° |
Read it as: if KiCad says SOIC-8 is at 0°, write 270° in the CPL for a top-side part and 90° for a bottom-side part. Top: (rot + 270) % 360. Bottom (JLCPCB): (180 − rot + 270) % 360.
The dot is pin 1. The arrow is the direction pin 1 points after the offset is applied, for a part KiCad drew at 0°. The left diagram is the top side, the right diagram is the bottom side. The diagram is schematic — it shows direction, not the package outline to scale.
For JLCPCB, the bottom-side formula is (180 − rot + delta) % 360 — a bottom part is seen from below, so its rotation is mirrored before the delta is added. Mid Y is also negated (KiCad Y points down, JLCPCB Y points up) and Mid X is unchanged (bottomMirrorX is false). The (360 − rot + delta) formula you will see in some write-ups is wrong: it agrees at 0° and 180° but rotates every 90°/270° part by 180°.
Package: SOIC-8 · 8 pins · 1.27 mm pitch · body 3.9 × 4.9 mm · KiCad footprint SOIC-8_3.9x4.9mm_P1.27mm. Commonly used for: Op-amps (LM358), logic (74HC595), timers and small MCUs.
Read more: Why your SOIC-8 is soldered 180° out at JLCPCB — and the one-line fix
Drop your KiCad .pos or Altium / Eagle .csv here — the normalizer applies this offset (and every other footprint's) and returns a corrected CPL for JLCPCB.
.pos or .csv file here, or click to choose one.