Set the voltage and resistance. The tool calculates both the current and the power the resistor dissipates. Then choose a resistor rating and see whether it stays within its rating, based on the two-times derating rule.
P = 5.0 V × 5.0 mA = 25 mW
Safe. The resistor dissipates 25 mW. Twice that is 50 mW, below the 0.25 W (250 mW) rating.