Offsets › JLCPCB › SOT-23-5

SOT-23-5 rotation for JLCPCB: +270°

The 5-pin SOT-23 is used for small LDOs, reset ICs and ESD parts with an extra pin. Its JLCPCB delta is 270°, not 180° — a real order caught an SOT-23-5 LDO at 180° when JLCPCB's library needed 270°. If you used the old blanket rule, your 5-pin parts are 90° out.

KiCad 0° → CPL 270° on top, 90° on the bottom. Offset: +270°.

The offset comes from the community rotation table rule ^SOT-23-[56].*. SOT-23 is the trap in the community tables: the delta depends on the pin count, not just the family. SOT-23-3 is 180°, SOT-23-5 and SOT-23-6 are 270° — a real JLCPCB order caught two SOT-23-5/6 parts (an ESD diode and an LDO) at 180° when JLCPCB's library needed 270°. A blanket SOT-23 → 180° rule is wrong for the 5- and 6-pin parts. This page is for one pin count only; check the others on their own pages.

Worked rotation table

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

Read it as: if KiCad says SOT-23-5 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.

Pin-1 diagram

Top side — final 270°KiCad 0° → CPL 270°Bottom side — final 90°KiCad 0° → CPL 90°

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.

How the JLCPCB bottom layer works

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: SOT-23-5 · 5 pins · 0.95 mm pitch · body 2.9 × 1.6 mm · KiCad footprint SOT-23-5. Commonly used for: Transistors (MMBT3904), LDOs and ESD protection diodes.

Verify in the JLCPCB placement preview. This offset comes from a community table (JLCKicadTools / Fabrication Toolkit), not from JLCPCB's library for your exact part number. If the preview's pin-1 mark disagrees with this page, trust the preview — it is final.

Fix your whole CPL file

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.

Drop a .pos or .csv file here, or click to choose one.


Related offsets