If you are using Peco track get yourself several Peco track gauges - they do the job for you including platform spacing.