Question: how do you tell the difference between a male and female guinea pig?
Answer: Examine the distance between the guinea pig's anus and its genitals (the vulva in females and the penis in males). ... 
Examine the shape of the guinea pig's genital opening (vulva in females and penis in males). ... 
The female guinea pig has a distinctive "Y" shape between her anus and vulva.