Is there such a program for plugging in values?

Is there a program or website out there that could take a formula and then take inputs of x values and give out the formula's y values? For example such as f(x) = x^2 + 1. I need this because I have some long equations that have negatives, decimals, square roots and such and using a scientific calculator would take ages to complete.

Also would a website such as Wolfram|Alpha do the trick? I have tried entering in f(2) = x^2 + 1 but it doesn't give me the outcome of 5. Thanks.