/** * Handle the Contact page form submission and email it to the site admin. */ function hc_handle_contact_submit() { if ( ! isset( $_POST['hc_contact_nonce'] ) || ! wp_verify_nonce( $_POST['hc_contact_nonce'], 'hc_contact_submit' ) ) { wp_safe_redirect( add_query_arg( 'contact', 'error', home_url( '/contact/' ) ) ); exit; } // Honeypot field: real users never fill this in. if ( ! empty( $_POST['hc_website'] ) ) { wp_safe_redirect( add_query_arg( 'contact', 'success', home_url( '/contact/' ) ) ); exit; } $name = isset( $_POST['name'] ) ? sanitize_text_field( wp_unslash( $_POST['name'] ) ) : ''; $email = isset( $_POST['email'] ) ? sanitize_email( wp_unslash( $_POST['email'] ) ) : ''; $message = isset( $_POST['message'] ) ? sanitize_textarea_field( wp_unslash( $_POST['message'] ) ) : ''; if ( empty( $name ) || empty( $message ) || ! is_email( $email ) ) { wp_safe_redirect( add_query_arg( 'contact', 'error', home_url( '/contact/' ) ) ); exit; } $to = get_option( 'admin_email' ); $subject = sprintf( '[Health Calculators] New contact message from %s', $name ); $body = "You have a new message from the Health Calculators contact form.\n\n" . "Name: {$name}\n" . "Email: {$email}\n\n" . "Message:\n{$message}\n"; $headers = array( 'Content-Type: text/plain; charset=UTF-8', "Reply-To: {$name} <{$email}>" ); $sent = wp_mail( $to, $subject, $body, $headers ); wp_safe_redirect( add_query_arg( 'contact', $sent ? 'success' : 'error', home_url( '/contact/' ) ) ); exit; } add_action( 'admin_post_hc_contact_submit', 'hc_handle_contact_submit' ); add_action( 'admin_post_nopriv_hc_contact_submit', 'hc_handle_contact_submit' ); TDEE vs BMR: What's the Difference and Why It Matters

TDEE vs BMR: What’s the Difference and Why It Matters

If you’ve spent any time researching calorie needs, you’ve probably run into two acronyms: BMR and TDEE. They’re related but not interchangeable, and mixing them up is one of the most common reasons people miscalculate their daily calorie targets.

What Is BMR?

Basal Metabolic Rate (BMR) is the number of calories your body burns just to stay alive – breathing, circulating blood, keeping your organs running – if you did absolutely nothing but rest for 24 hours. It’s your body’s baseline energy cost, calculated from your age, sex, height, and weight.

What Is TDEE?

Total Daily Energy Expenditure (TDEE) takes your BMR and adds everything else you burn in a day: walking, working, exercising, even fidgeting. TDEE is calculated by multiplying your BMR by an activity multiplier that reflects your typical lifestyle, from sedentary to highly active.

Why the Distinction Matters

BMR alone tells you almost nothing useful for weight management, because almost nobody spends 24 hours a day lying perfectly still. TDEE is the number you actually need for setting calorie targets, whether your goal is weight loss, maintenance, or muscle gain. Eating below your TDEE creates a deficit for fat loss; eating above it supports weight or muscle gain.

How to Use Both Numbers

Start by calculating your BMR, then apply an activity multiplier to get your TDEE. From there, a moderate calorie deficit of 300-500 calories below TDEE is a common, sustainable starting point for fat loss, while a similar surplus supports muscle gain when combined with resistance training.

Get both numbers instantly with our BMR Calculator and TDEE Calculator, then use our Daily Calorie Calculator to set a target that matches your goals.