Is this calculation correct ?

It is not with D. I bought this because I thought it is a standard rotary encoder.