🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Calculated fields for ACF icon
Peut-être abandonné Tested up to 5.9.21 #47 in acf

Calculated fields for ACF

Adds a formula fields ot Advanced Custom Fields that allows you to perform simple math based on field values. Calculations are updated dynamically via ajax while editing a post on the backend post editor as well as on…

Installations actives1K+1 000 000 +
Téléchargements · 30D409▲ +62.3% vs prev. 30d
Évaluation4.1/514 avis
Score de santé35/100En danger
Téléchargements de tous les temps21.3KDepuis décembre 2019
Support résolu—Aucun fil de discussion récent
A besoin deWP 4.7PHP 7.0+
Téléchargements · 7j127▲ +35.1% week over week
Notre verdict

Envisager une alternative

Calculated fields for ACF shows warning signs in 2026 — compare the alternatives below before installing. It runs on 1K+ sites, is rated 4.1/5 and was last updated 5 years ago, and scores 35/100 on our health check.

  • Pas de mise à jour dans 4 ans
  • Uniquement testé jusqu'à WordPress 5,9 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

102132Sep 4Oct 18Dec 2
Hier43
Moyenne quotidienne (1 ans)5
Jour de pointe43Dec 2, 2026
12 Derniers mois1.8K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Calculated fields for ACF stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
ACF >100 1,913 Meilleurs plugins ACF →
administrateur >100 10,000 Meilleurs plugins administrateurs →

Adoption de version

Part de sites actifs par version.

  • 1.395.6%
  • 1.24.4%

Répartition des notes

★★★★★★★★★★ 4.1 from 14 reviews

  • 5★64.3%
  • 4★14.3%
  • 3★0.00%
  • 2★7.1%
  • 1★14.3%

About Calculated fields for ACF

From the official readme · v1.3.2

Description

Adds a formula fields ot Advanced Custom Fields that allows you to perform simple math based on field values. Calculations are updated dynamically via ajax while editing a post on the backend post editor as well as on front end forms.

Obligations

Calculated fields requires Advanced Custom Fields 5.0 or later and works with Pro as well as the standard version.

Frontend forms

Beginning in version 1.2.3, Calculated fields for ACF supports frontend forms created using the acf_form() function (built in to Advanced Custom Fields).

Formules

Calculated fields adds a new setting “Formula” to the the ACF field editor. Formulas supports referring to other fields in the same Field group using the field name. If a formula is added to a sub field inside a repeater field, the name refers to another sub field in the same repeater.

A sub field inside a repeater field can also refer to a parent field using the “parent.”” prefix.

A formula can contain the basic mathematical operations: plus (+), minus (-), multiply (*), division (/) and power of (^). Formulas can also contains functions like sin, cos, arcsin, log, ln, sqrt, abs. Parentheses are supported.

If an expression can’t be evaluated due to invalid syntax or referring to undefined field names, it will silently return zero.

Examples of valid expressions (note, no equal sign at the beginning):

  • fieldA * 2
  • fieldA * fieldB
  • abs(fieldA) * (2 + sqrt(fieldB))
  • amount * parent.price

Conditional operators

An expression can also contain a conditional expression that will return either 0 or 1. The supported operators are:

  • Equals (==) – Returns 1 when two values are equal, 0 otherwise
  • Not equals (!=) – Returns 1 when two values are not equal, 0 otherwise
  • Greater than (>) – Returns 1 when the first operand is greater than the second, 0 otherwise
  • Greater than or equal (>=) – Returns 1 when the first operand is greater than or equal to the second, 0 otherwise
  • Less than (<) – Returns 1 when the first operand is less than the second, 0 otherwise
  • Less than or equal (<=) – Returns 1 when the first operand is less than or equal to the second, 0 otherwise

Examples of valid expressions using conditional operators:

  • 10 == 10 (returns 1)
  • 10 == 2 (returns 0)
  • 10 > 2 (returns 1)
  • 10 < 2 (returns 0)
  • 10 <= 10 (returns 1)

Rounding functions

Round a decimal value to the nearest integer. Supported functions are:

  • round() – Uses standard mathematical rounding rules to round to nearest integer
  • ceil() – Rounds the value to the next higher integer
  • floor() – Rounds the value to the next lower integer

Examples of valid expressions using rounding functions:

  • round(10.2) (returns 10)
  • round(10.9) (returns 11)
  • round(10.888888 * 10) / 10 (returns 10.9)
  • ceil(10.2) (returns 11)
  • floor(10.2) (returns 10)

Note that the round() function only takes one parameter and always round to an integer. If you need to round to a higher precision, multiply and divide as shown in third example above.

Group fields (new from 1.2.4)

Fields defined as part of a group, subfields, can be addressed using the group name as a prefix. Inside the group, a field defined on the parent level can be addressed using the “parent” prefix. See examples below:

Valid formula to use the value of field “foobar” defined inside the group “group2”:
* group2.foobar + 10

Valid formula in a field inside a group (assuming the parent has a field named count):
* parent.count * 22

Array functions for repeater fields

If repeater fields are used, a calculated field in the parent field group can summarize a specific repeater sub fields using the aggregation functions sum, count, average, min or max. For example, the expression: “Sum(orderlines.amount)”” will return the sum of all the “amount” fields in the repeater field “orderlines”.

The available array functions are:

  • sum()
  • average()
  • count()
  • min()
  • max()

Note that anything after the dot (.) in the aggregate expression is an expression in itself. It’s perfectly OK to write a formula like: “Sum(orderlines.price * amount)”. This expression will walk over all lines in the “orderlines” repeater field, perform the calculation “price * amount” and return the sum of all lines.

Note that when working with aggregate functions, parentheses can not be used. If you need to aggregate a more complex calculation, you should add an extra field in the repeater group and let the aggregate function work on this extra field.

Data type and calculation order

Calculated fields works with the assumption that all fields are defined as numeric in the ACF editor. Using a text field in a formula WILL PRODUCE UNPREDICTABLE RESULTS.

Calculations are made as the custom field is stored to the database. To minimize the impact of performance, Calculated fields rely on field order. A formula field can only refer to fields ordered BEFORE itself. A formula field that refers to a field ordered after it WILL PRODUCE UNPREDICTABLE RESULTS.

Installation

Minimum requirements

  • PHP 7.3 or newer

Calculated fields will for ACF run on PHP 5.6 or newer, but we highly recommend following the official WordPress guidelines that currently recommends PHP 7.3.

Install from within WordPress

  • Visit the plugins page within your dashboard and select ‘Add New’
  • Search for ‘Calculated Fields for ACF’
  • Click ‘Install’ and wait until the button caption changes to ‘Activate’
  • Click ‘Activate’

Installer manuellement

  • Download the zip file
  • Upload the calculated-fields-for-acf folder from the zip to the /wp-content/plugins/ directory on your server
  • Navigate to the Plugins page in WordPress admin and locate the plugin
    Click ‘Activate’

Journal de modifications

1.3.2

  • Fix Improves input sanitation and output escaping

1.3.0

  • Feature: Support for formatting numeric output using PHP sprintf syntax
  • Feature: Optionally let formula return empty string instead of zero
  • Fix “empty needle” bug that emits PHP warning messages to the error log in certain field groups

1.2.4

  • Fixes problem with calculations of fields inside a group

1.2.3

  • Fixes problem with calculations not working in front end forms created with acf_form()

1.2.2

  • Fixes issue with operator == always returning false

1.2.1

  • Adds support for conditional operators >=, <=

Journal des modifications complet sur WordPress.org →

Captures d'écran

Calculated fields for ACF screenshot
Calculated fields for ACF screenshot
Calculated fields for ACF screenshot

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Calculated fields for ACF alternatives

Tous les plugins ACF →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Champs personnalisés avancés (ACF®) Champs personnalisés avancés (ACF®) ACF permet de personnaliser WordPress avec des champs puissants, professionnels et intuitifs. Fièrement… Par moteur WP 2M+ ★★★★★★★★★★ 4.5 (1.4K) Il y a 2 semaines 97
2 Analyse de contenu ACF pour Yoast SEO Analyse de contenu ACF pour Yoast SEO WordPress Le plugin qui ajoute le contenu de tous les champs ACF à l'analyse des scores Yoast SEO. par Yoast 100K+ ★★★★★★★★★★ 4.1 (35) Il y a 2 mois 73
3 Champs personnalisés avancés : étendu Champs personnalisés avancés : étendu Suite d'amélioration tout-en-un qui améliore WordPress et des champs personnalisés avancés. Par Konrad Chmielewski 100K+ ★★★★★★★★★★ 4.8 (132) il y a 1 mois 76
4 Champs personnalisés avancés : champ Font Awesome Champs personnalisés avancés : champ Font Awesome Ajoute un nouveau champ « Font Awesome Icon » au plugin populaire Advanced Custom Fields. de Justin Kruit 90K+ ★★★★★★★★★★ 4.9 (36) il y a 7 jours 96
5 Champ de galerie de photos ACF Champ de galerie de photos ACF Une extension légère d'un champ personnalisé avancé (ACF) qui ajoute un champ de galerie de photos à n'importe quel… de Navneil Naicker 60K+ ★★★★★★★★★★ 4 (29) il y a 11 mois 47
6 Add-on de champ de table pour ACF et SCF Add-on de champ de table pour ACF et SCF Un module complémentaire de champ de table pour les champs personnalisés avancés et le plugin de champs personnalisés sécurisés. de Johann Heyne 50K+ ★★★★★★★★★★ 4.9 (60) il y a 1 jour 95
7 Importateur vraiment simple CSV Importateur vraiment simple CSV Alternative CSV Plug-in d'importateur. Simple et puissant, idéal pour les geeks. par Webの相談所 30K+ ★★★★★★★★★★ 4.9 (107) il y a 5 mois 80
8 Champs personnalisés avancés : module complémentaire Gravity Forms Champs personnalisés avancés : module complémentaire Gravity Forms Fournit un champ personnalisé avancé qui permet à un utilisateur WordPress de sélectionner un formulaire de gravité sous la forme… par dannyvanholten 30K+ ★★★★★★★★★★ 4.2 (14) Il y a 1 an 55
9 Champs de modification rapide d'ACF Champs de modification rapide d'ACF Activer les colonnes, les filtres, la modification rapide et la modification groupée pour les champs ACF dans les tables de liste WordPress par Podpirate 30K+ ★★★★★★★★★★ 4.5 (43) Il y a 2 ans 38
10 Image Aspect Ratio Crop Field for Advanced Custom Fields Image Aspect Ratio Crop Field for Advanced Custom Fields Champ ACF qui permet à l'utilisateur de recadrer l'image selon un rapport d'aspect ou une taille de pixel spécifique par joppuyo 20K+ ★★★★★★★★★★ 4.8 (26) Il y a 2 mois 74

FAQ

Calculated fields for ACF: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Calculated fields for ACF free?

Yes. Calculated fields for ACF is free to download and use from the official WordPress.org plugin directory.

Is Calculated fields for ACF safe to use in 2026?

Calculated fields for ACF shows warning signs in 2026 — compare the alternatives below before installing. It runs on 1K+ sites, is rated 4.1/5 and was last updated 5 years ago, and scores 35/100 on our health check.

How many websites use Calculated fields for ACF?

Calculated fields for ACF is active on 1K+ WordPress websites and has been downloaded 21,333 times since it launched in December 2019. It was downloaded 409 times in the last 30 days.

Does Calculated fields for ACF work with WordPress 7.1?

Calculated fields for ACF is officially tested up to WordPress 5.9.21, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Calculated fields for ACF need?

Calculated fields for ACF requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Calculated fields for ACF last updated?

The latest version, 1.3.2, was released on February 2, 2022 (5 years ago).

Who makes Calculated fields for ACF?

Calculated fields for ACF is developed and maintained by wundermatics.

What are the best alternatives to Calculated fields for ACF?

The most popular alternatives to Calculated fields for ACF are Advanced Custom Fields (ACF… (2M+ installs), ACF Content Analysis for Yo… (100K+ installs) and Advanced Custom Fields: Ext… (100K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir