A method of forming a battery, comprising the steps of: obtaining a reference energy profile for forming the battery, including comparing a first course which describes absorption of an electrical quantity of a first battery during a first charge cycle, to a second course which describes absorption of the electrical quantity of the first or a second battery during a second charge cycle which follows the first charge cycle, for a plurality of time intervals (18a-d); determining a deviation (16a-d) between the first and the second course for each of the plurality of time intervals (18a-d); and determining an amount of the electrical quantity on the basis of the deviation (16a-d) for each of the time intervals (18a-d), wherein the amount of the electrical quantity describes a preset default value of the reference energy profile for an amount of the electrical quantity to be fed to a battery to be formed during a formation process of the battery to be formed, for each of the time intervals (18a-d); and charging the battery with an amount of an electrical quantity, wherein a temporal course of the amount of the electrical quantity is based on the reference energy profile, wherein said determining of the amount of the electrical quantity takes place on the basis of a conversion function having at least one function argument, the function argument being the deviation (16a-d) determined, and wherein the electrical quantity describes an electrical current intensity or an amount of electrical charge. obtaining a reference energy profile for forming the battery, including comparing a first course which describes absorption of an electrical quantity of a first battery during a first charge cycle, to a second course which describes absorption of the electrical quantity of the first or a second battery during a second charge cycle which follows the first charge cycle, for a plurality of time intervals (18a-d); determining a deviation (16a-d) between the first and the second course for each of the plurality of time intervals (18a-d); and determining an amount of the electrical quantity on the basis of the deviation (16a-d) for each of the time intervals (18a-d), wherein the amount of the electrical quantity describes a preset default value of the reference energy profile for an amount of the electrical quantity to be fed to a battery to be formed during a formation process of the battery to be formed, for each of the time intervals (18a-d); and comparing a first course which describes absorption of an electrical quantity of a first battery during a first charge cycle, to a second course which describes absorption of the electrical quantity of the first or a second battery during a second charge cycle which follows the first charge cycle, for a plurality of time intervals (18a-d); determining a deviation (16a-d) between the first and the second course for each of the plurality of time intervals (18a-d); and determining an amount of the electrical quantity on the basis of the deviation (16a-d) for each of the time intervals (18a-d), wherein the amount of the electrical quantity describes a preset default value of the reference energy profile for an amount of the electrical quantity to be fed to a battery to be formed during a formation process of the battery to be formed, for each of the time intervals (18a-d); and charging the battery with an amount of an electrical quantity, wherein a temporal course of the amount of the electrical quantity is based on the reference energy profile, wherein said determining of the amount of the electrical quantity takes place on the basis of a conversion function having at least one function argument, the function argument being the deviation (16a-d) determined, and wherein the electrical quantity describes an electrical current intensity or an amount of electrical charge.