# How to Calculate Sum of Table Column in JavaScript

Hello devs, in this tutorial i am going to discuss how to calculate sum of column in jquery using jquery to perform calculations in a table sum table row jquery. This is just simply a demo post to show how you can sum a table row.

I will use jquery for each column in table to get sum for a specific column. If you don't know how to do that you are a right place. In this tutorial you will learn how to calculate sum of column in javascript. We need it when you do any mathematical calculation in our project. So let's see how to calculate sum of column in javascript.

Example code of datatable sum of particular column in jquery:

Read also : How to Disable Submit Button After Click using jQuery
{"ft_lang_label":"__label__en","ft_lang_prob":0.84772176,"math_prob":0.7518335,"size":785,"snap":"2020-45-2020-50","text_gpt3_token_len":170,"char_repetition_ratio":0.17669654,"word_repetition_ratio":0.07482993,"special_character_ratio":0.21528663,"punctuation_ratio":0.074074075,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9976327,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-24T02:53:15Z\",\"WARC-Record-ID\":\"<urn:uuid:de670606-0951-4d02-aa6e-4c9baf5b8ab5>\",\"Content-Length\":\"50594\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9d4eed04-ef52-456d-ba02-e0de7b22f1ea>\",\"WARC-Concurrent-To\":\"<urn:uuid:e4e8c84e-c4dc-48d2-8e38-e219854558e0>\",\"WARC-IP-Address\":\"104.28.30.175\",\"WARC-Target-URI\":\"https://www.codechief.org/article/how-to-calculate-sum-of-table-column-in-javascript\",\"WARC-Payload-Digest\":\"sha1:NJVTSAELRD6NMSV2NUTXRFLBL4PW7GVE\",\"WARC-Block-Digest\":\"sha1:XX7R4JVPXMQ74D2BBIGJBK4JOCRJOWJD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107881640.29_warc_CC-MAIN-20201024022853-20201024052853-00150.warc.gz\"}"}