dia-option-calculation