
The cable measures exactly 12 inches from the bottom of the female end to the tip of the male end, WITHOUT the pins. So it's not a foot-long Subway item. I'm sure 12" will work for you! Allow for some bending on both ends and be aware it won't make an absolute 90 degree turn. After reading the reviews here I went played it safe and bought a 24" power cord from the same manufacturer. I'm glad I did! For under $5 I'm keeping it in case I find a use for it somewhere someday and don't want to waste anyone's money on a product that lives up to the hype.

Premium Fiber Optic Cable For Enhanced Audio Experience: CableDirect TOSLINK 25 Ft Audio Cable For Soundbars And Home Theaters
18 Review

CableDirect TOSLINK Optical Audio Cable - Short 3Ft Fiber Optic Cable For Soundbars And Home Theater Systems
25 Review

Asiahorse 16AWG Pro Power Supply Sleeved Cable For Power Supply Extension Cable Wire Kit 1X24-PIN/ 2X8-PORT (4+4) M/B,3X8-PORT (6+2) PCI-E 30Cm Length With Combs(Dual EPS Black)
14 Review

GearIT 14/2 Speaker Wire (250Ft) - High-Quality 14AWG Gauge For Outdoor Use - Oxygen-Free Copper - CL3 CL2 Rated - 2 Conductors - Black
22 Review