PAint calculator