Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
This is the pinout diagram from a Fairchild BS270 MOSFET datasheet.
I'm pretty sure that I know which pin is drain, but the jury's still out on the gate and source. What the heck were they thinking when they drew it this way?
I tried Ron's suggestion, and it showed that the source is at the end. Hence gate is the middle pin as Mickster and John said. Tested it in circuit, and it works correctly. So mystery solved. Thanks everyone.