You can summarize data that's in a related field displayed in a
portal. For example, you can get the total of all related records, the smallest or largest related record, or find the standard deviation of all related records in your portal.
You can place the summary field anywhere on your layout, including inside the portal.