Many of the formulas used by SPSS are in Algorithms section of the Support web site, if you have a recent (as of, say, 2003Smile! Happy face) version of SPSS, this information is also available from the CDROM.

For IBM SPSS Statistics 24 you could download some 50Mb algorithms document here.