If it's 5" it's not too promising that it's a male. Do you have any other fish with it? If you keep a mirror placed up to the tank it will help you sex the fish. If it's a male it will be very agressive and turn very colorful. If it's a female it may show signs of spawning with the mirror. Keep an eye out for any black in the dorsal or the anal fins. That's a dead give away of a female