kn formula