This document proposes a new power allocation method for non-orthogonal multiple access (NOMA) systems like interleave division multiple access (IDMA). The method uses forward error correction (FEC) code rates to determine the optimal number of users per power level group. Simulation results show that each FEC code can support a limited number (kmax) of equal power users before bit error rate (BER) degrades. The proposed method divides users into groups sized up to but not exceeding kmax. It aims to minimize total transmit power while maintaining a target BER, by finding the minimum required power ratio between groups. Results show the method outperforms conventional techniques with complex computations.