Are These Batteries Interchangeable?

My batteries have the number 13 on them. A friend came into a large quantity of 312 batteries. They have the same voltage and appear to be the same size. Are these two models of batteries interchangeable? If not, why not, since they seem to be the same.

I haven’t been able to find detail specs on these batteries, just sales info.

Thanks

No, the 312 is a smaller battery, they are not the same size.

Same diameter, different thickness, smaller capacity.