How do you calculate a fixed number X user input