Element weight calculator