JSA calculation