This small online calculator (below) converts (ET, width) into rim offset values. It was designed for a quick check of rim clearance, when a wheel change is envisonned.
(See figure for details)
No care was taken about, neither rim thicknesss, nor tyre width.
Also note that this is my one and only javascript program and that any suggestion for improvement would be kindly appreciated.