I would like to calculate the trace width of a net, but I am not sure what value should I give in this calculator: https://www.4pcb.com/trace-width-calculator.html.
Should I give the current RMS value or its average value?
The basic problem is:
The current will cause heat, too much heat will melt the trace.
Now Imagine:
There is purely AC current. Do you expect it to cause heat?
If your answer is: Yes, then you already know that "average current" is not the correct value, because it is zero.
(With AC all negative values cancel out the positive values, thus the average current is zero)