LM317 calculator
Enter the desired output voltage and approximate resistor divider current, and the calculator finds the optimum values for R1 and R2.

Vout
V (between 1.25V and 37V)
IR1
R1
R2
These resistor values result in the following actual values for output voltage and R1 current:
Vout
Error
IR1
Disclaimer: this calculator comes without guarantee. Use at your own risk. If you would find errors, please let me know, and include the parameters used and the results you got.