Calculate works best at the sample points such as 400-700nm in 25nm increments. Spline tries to approximate the other points and fit a bell curve.
I just found out that the calculations are complex enough (and I have no resources) that this page is now invalid. but the akima spline interpolation is useful. Just try to go by your specs. The only reason I am keeping this page is because it has useful code and others have linked to it, and the hopes that someone will provide me with proper equations.
If there is someone into Optical Engineering who is willing to help me give me the equations and all the variables required to convert a generic rounded LED between mW to mcd and also from mcd to mW given at least the beam angle in degrees (such as 120°), that would be greatly appreciated! email me here! Then I can rewrite this page so everyone can use it. I know the beam angle will need to be converted to steradians.