The maximum level is 40, and as your level increases, the amount of experience you gain from low-level battles decreases.