At a basic pay level, the answer is simple. The military pays the same regardless of branch, according to your pay grade and years of service. Your rank determines your pay grade. Ranks vary across military services, but pay grades do not.