Show calculated value at the bottom of every node for a specific content type
Computed Field module will do for you.


  Computed Field is a very powerful field module that lets you add a
  custom "computed fields" to your content types. These computed fields
  are populated with values that you define via PHP code. You may draw
  on anything available to Drupal, including other fields, the current
  user, database tables, you name it. (Feeling the power yet? :) ) You
  can also choose whether to store your computed field values in the
  database with other content fields, or have them "calculated" on the
  fly during node views. (Although you should note that Views use
  requires database stored values.) This field is literally the Swiss
  Army knife of fields. So start cooking up your PHP based values!


if you need this through views, you can check this link there are answers which might help you.

also this module will help you,

Views Custom Field


  Now that the Views module has incorporated the rownumber and markup
  fields, only the PHP field is left for this module. I started a new
  project called Views PHP. It also includes support for PHP filters and
  sorts.