To tell between a male and a female, you will know because on the tag outside of the pet shops fish tank it will say female or male. They will get along they are from the same family. i have like 5 of those fish in one tank and 2 four inch catfishs they are both in the community catigory... they ill be fine!