spin formula