As most SSDs are made up of NAND flash, the calculations are based on average NAND write cycles. Here is a formula to calculate the lifespan of SSD. The equation is cycles x capacity / SSD factor x data written per year.