The utility model relates to the technical field of batteries, in particular to a battery cap and a battery. According to the battery cap, a connecting piece is connected with the side, facing the interior of a battery, of a connecting part on a pressure relief piece, a
thinning groove is formed in the side, facing the interior of the battery, of the connecting piece so that a
thinning area can be formed on the connecting piece, and the thickness size of the
thinning area in the axial direction of the battery cap is H; a first groove is formed in one side, facing the exterior of the battery, of the thinning area, and the depth size of the first groove in the axial direction of the battery cap is H1; a second groove is formed in one side, facing the interior of the battery, of the thinning area, and the depth size of the second groove in the axial direction of the battery cap is H2; 0.2 < = (H1 + H2) / H < = 0.6. According to the utility model, the pressure relief piece can be separated from the connecting piece in time before being opened, the safety performance of the battery is ensured, the connecting piece has enough structural strength, and the connecting piece is prevented from being deformed or prematurely powered off under
impact, so that the service life of the battery is ensured.