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